Stephen Weatherford (MSFT)
Stephen Weatherford (MSFT)
The only work-around I'm aware of is the following: 1) Change "mongo" to "JavaScript" in the status bar  2) Format the document 3) Change it back to "mongo" We'll...
Unfortunately if you do that, you lose out on all the things that we provide via the mongo language service. For instance, Intellisense:  Also, in the next version, we've...
1) Having been able to find a way to re-use the JavaScript formatter, doesn't seem to be supported. Similar questions on stackoverflow have gone unanswered. We could hang off of...
3. I can try creating a separate command that changes the languageid, calls format, then changes it back. This is by far the easier if it works.
We're going to have trouble finding time for this with our priorities. If it's something you would like to tackle, feel free to.
Great. Suggest you start with a free formatter. Let us know how it goes.
If someone can find an open source package to do the formatting, we could look into hooking it up.
Thanks. I'll submit a PR if I can get some time. I'm temporarily working around it with this code: // Patch up handleProtocolMessage as a temporary work-around for https://github.com/jbmusso/gremlin-javascript/issues/93 var...
@dfberry This extension doesn't use the Azure side bar. What extension are you using?
@dfberry I've transferred the issue to this repro which is probably where it belongs.