vala-language-server icon indicating copy to clipboard operation
vala-language-server copied to clipboard

check for snippet support in the editor

Open Zaplae opened this issue 3 years ago • 4 comments

OS: fedora 35 vls version; 0.48.4 valac version: 0.54.8

image

It happened in both helix and kate.

Zaplae avatar Apr 30 '22 05:04 Zaplae

Does your editor support snippets?

Prince781 avatar Apr 30 '22 13:04 Prince781

Oh!

Zaplae avatar Apr 30 '22 14:04 Zaplae

Well this can still be an issue—VLS should check for snippet support before sending them.

Prince781 avatar Apr 30 '22 15:04 Prince781

Relevant spec here:

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#completionClientCapabilities

Prince781 avatar Apr 30 '22 15:04 Prince781