mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 22:51:08 +00:00
Allow enable/disable threading for LSP server
Restart LSP server when configurations change without restart the editor
This commit is contained in:
parent
02cd144222
commit
d901d5993b
2 changed files with 42 additions and 13 deletions
|
|
@ -41,7 +41,10 @@ class GDScriptLanguageServer : public EditorPlugin {
|
|||
GDScriptLanguageProtocol protocol;
|
||||
|
||||
Thread *thread;
|
||||
bool thread_exit;
|
||||
bool thread_running;
|
||||
bool started;
|
||||
bool use_thread;
|
||||
int port;
|
||||
static void thread_main(void *p_userdata);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue