Mention that the Godot editor must be running in connection error message (#358)

This commit is contained in:
Hugo Locurcio
2022-05-09 14:44:19 +02:00
committed by GitHub
parent f860020c63
commit 588df8fd93

View File

@@ -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;