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 Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_extend_parser.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_language_protocol.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_language_protocol.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_language_server.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_language_server.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_text_document.cpp Use insertText from the internal autocompletion 2022-06-16 10:11:33 +02:00
gdscript_text_document.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_workspace.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_workspace.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
lsp.hpp Use insertText from the internal autocompletion 2022-06-16 10:11:33 +02:00