mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-06 22:09:44 +03:00
Mention that the Godot editor must be running in connection error message (#358)
This commit is contained in:
@@ -272,7 +272,7 @@ export class GodotTools {
|
||||
|
||||
let host = get_configuration("gdscript_lsp_server_host", "localhost");
|
||||
let port = get_configuration("gdscript_lsp_server_port", 6008);
|
||||
let message = `Couldn't connect to the GDScript language server at ${host}:${port}`;
|
||||
let message = `Couldn't connect to the GDScript language server at ${host}:${port}. Is the Godot editor running?`;
|
||||
vscode.window.showErrorMessage(message, 'Open Godot Editor', 'Retry', 'Ignore').then(item => {
|
||||
if (item == 'Retry') {
|
||||
this.reconnection_attempts = 0;
|
||||
|
||||
Reference in New Issue
Block a user