Using VSCode 1.33, I'm trying to use the included JSON Language Server in another client supporting LSP (Eclipse Wild Web Developer if you're curious). It provides a lot of value already.
However, formatting is not declared as a capability, although the LS manages to format correctly. The reason is that, as we can see in https://github.com/Microsoft/vscode/tree/master/extensions/json-language-features/server/README.md, formatting seems only enabled through dynamicRegistration. This doesn't seem necessary and declaring capability statically would be much simpler.
Using VSCode 1.33, I'm trying to use the included JSON Language Server in another client supporting LSP (Eclipse Wild Web Developer if you're curious). It provides a lot of value already.
However, formatting is not declared as a capability, although the LS manages to format correctly. The reason is that, as we can see in https://github.com/Microsoft/vscode/tree/master/extensions/json-language-features/server/README.md, formatting seems only enabled through dynamicRegistration. This doesn't seem necessary and declaring capability statically would be much simpler.