vala-language-server
vala-language-server copied to clipboard
Auto-completion in string literals works
Describe the bug A clear and concise description of what the bug is.
Software OS and version (e.g. Ubuntu 20.04): arch btw VSCode Vala Language Server (e.g. git commit, or PPA/AUR version): workflow-improvements branch Vala version (valac --version): 0.48.4
To Reproduce

wait, actually it can be good xdd.
Yeah, I can't decide if this should be a bug or not. It has its pros and cons. What do you think @benwaffle ?
It's a bug. Strings aren't expected to have correct symbols. If you need it, vscode handles autocompletion of words found in your file.
Makes sense. It seems this would be expensive to avoid from the SymbolExtractor, since this would require searching (in the worst case) the entire document for quotation marks.
But I think it still should work in @ strings

One way to solve this is to create regions of a text document that aren't to have completions in them. These regions would be updated every time the document is compiled.