@WebStormIDE Is there a was to get syntax highlighting for .mongo files?
Then all you have to do is assign .mongo file pattern to the JavaScript file type in Preferences | Editor | File Types. Let us know how it goes!
-
-
I get syntax highlighting but it’s full of linting errors now.
-
Can you please provide a code sample? If it's not a valid JavaScript syntax, then assigning it to JavaScript file type is not the best idea.
- 2 more replies
New conversation -
-
-
Well it kinda worked, since the file is mix of mono shell and JS file. https://docs.mongodb.com/manual/tutorial/write-scripts-for-the-mongo-shell/ …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.