Use skipEncoding in uri.toString(true) to prevent percent‑encoding of
characters like ":", "&" and "=" when building the URI.
This ensures the JSON schema URL remains valid.
* support to dynamically register JSON schema association
* support to dispose schema and association registration
* hook up schema, associations, and documents when reviewing tool input
* Enable json language support for `code-snippets` files
* fix
* snippets as a known language to the json language server
---------
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
* Contribute to json language server with a custom language.
* Add `snippets` to `"activationEvents"`
* Remove hardcoded `snippets` from `documentSettings`
* Fix wrong variable in `!isEqualSet()`
* Use `extensions.allAcrossExtensionHosts` instead of `extensions.all`
* enable `"enabledApiProposals"` for `extensions.allAcrossExtensionHosts`
* Fix error: `Property 'allAcrossExtensionHosts' does not exist on type 'typeof extensions'`
* Remove `snippets`
* adding the initial code for sorting on save setting
* adding code, it is working, but how to get the text editor options
* cleaning the code
* making the callback synchronous, why does waitUntil not work
* removed unwated edit
* previously the check on is text edit instance was throwing an error, now checking manually that it is working
* chaning the return type of `getOptionsForDocument` to udnefined by default
* Convert to TextEdit instances
---------
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples
* adding the DocumentSortingRequest
* accesssing directly the text edits from the request
* added code in order to provide the link between the json sorting capabiliites and vscode
* adapting to the new api output of the sort function
* instead of using await use then inside of the command that registers
* textEditor replaces window.activeTextEditor
* adding changes from review
* update service
* use SortOptions
---------
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
* Adding the keepLines feature into the settings so the user can format while keeping the original line positions in json documents
* update service
* update dependencies
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>