sveltejs / language-tools

The Svelte Language Server, and official extensions which use it
MIT License
1.19k stars 192 forks source link

LSP uses old SymbolInformation format #1519

Open Suyashtnt opened 2 years ago

Suyashtnt commented 2 years ago

Describe the bug

When trying to use anything that uses the new documentSymbols format, it fails as the old one is deprecated.

Reproduction

Expected behaviour

the LSP to use the new documentSymbols format, and not error

System Info

Which package is the issue about?

language-server

Additional Information, eg. Screenshots

image

dummdidumm commented 2 years ago

Blocked by https://github.com/microsoft/vscode-css-languageservice/issues/277 and https://github.com/microsoft/vscode-html-languageservice/issues/130

kamalkech commented 1 year ago

@dummdidumm still blocked ?

dummdidumm commented 1 year ago

yes

kamalkech commented 1 year ago

@dummdidumm one last question plz about neovim and svelte

image

any idea to fixe that ?

Suyashtnt commented 1 year ago

@dummdidumm one last question plz about neovim and svelte

image

any idea to fixe that ?

if you are wondering about syntax highlighting, that is done with treesitter in nvim (https://github.com/nvim-treesitter/nvim-treesitter) you will need the typescript and svelte configs installed with it

kamalkech commented 1 year ago

@Suyashtnt i already do that

nvim-treesitter is already install and configured, that s reason i post here to understand where is the problem

image

lsp config file

image

Suyashtnt commented 1 year ago

@Suyashtnt i already do that

nvim-treesitter is already install and configured, that s reason i post here to understand where is the problem

image

lsp config file

image

This is off-topic, but to help you need to do :TSInstall svelte typescript and make sure you have the highlighting module for treesitter enabled. The highlighting issue has nothing to do with the LSP. Rather post in the neovim matrix or something

kamalkech commented 1 year ago

@Suyashtnt 👍👍