@WebStormIDE Is there a was to get syntax highlighting for .mongo files?
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.
-
-
Yeah for example this is content of 'test.mongo'pic.twitter.com/Rjwp4Qfopo
-
To get code completion and resolve for Mongo Shell methods, you can add this file with the type definitions https://raw.githubusercontent.com/marcinnajder/mongo-shell-assistant/master/src/mongoShell.d.ts … to your project or set it up as a JavaScript library in Preferences | Languages & Frameworks | JavaScript | Libraries. Hope it helps!
End of conversation
New conversation -
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.