Skip to content

JSON Language Server doesn't declare formatting capabilities as result of initialize #72124

@mickaelistria

Description

@mickaelistria

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.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjsonJSON support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions