Open Musaefendic opened 7 months ago
This is a snippet completion. Apparently vscode-json-languageserver-bin
is violating the LSP spec - it should not return snippet completions when client does not advertise support for these. I guess we should implement snippet support (https://github.com/jupyter-lsp/jupyterlab-lsp/issues/208) now that CodeMirror 6 migration headaches are over.
Description
Using the
vscode-json-languageserver-bin
server for auto-completion in JSON introduces unexpected characters.Note: Following https://github.com/jupyterlab/jupyterlab/issues/16129
Reproduce
1/ Create environment
2/ Create an empty json based on a schema
Add a line, type
"
, then pressTab
to see the suggestions, select one options and pressEnter
After pressing
Enter
, an object{}
is inserted with an unexpected character$1
Expected behavior
The equivalent behavior in
vscode
, no unexpected character introducedContext
Windows 10
Chrome 123.0.6312.105 (Build officiel) (64 bits)
Version 4.1.5
jupyter-lsp-jupyterlab-lsp 5.1.0
&json (vscode-json-languageserver-bin)
Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
Command Line Output
Browser Output (recommended for all interface issues)