virtualx-engine/modules/gdscript/language_server
Kurt Lachmann c07d1d0de8 Use insertText from the internal autocompletion
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now.
* Instead of the previous naive approach we now reuse the same logic as the internal editor.
* For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.

(cherry picked from commit bbb07ff8cb)
2022-06-16 10:11:33 +02:00
..
gdscript_extend_parser.cpp
gdscript_extend_parser.h
gdscript_language_protocol.cpp
gdscript_language_protocol.h
gdscript_language_server.cpp
gdscript_language_server.h
gdscript_text_document.cpp Use insertText from the internal autocompletion 2022-06-16 10:11:33 +02:00
gdscript_text_document.h
gdscript_workspace.cpp
gdscript_workspace.h
lsp.hpp Use insertText from the internal autocompletion 2022-06-16 10:11:33 +02:00