From 1a3103c4baa69711a53cfe8031b06c1d73ca22c7 Mon Sep 17 00:00:00 2001 From: Ben McMorran Date: Tue, 16 Jun 2026 15:26:43 -0700 Subject: [PATCH] Add plugin-specific login and EULA messages These messages will be used by the plugin mode of the standalone language server. --- Extension/src/nativeStrings.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Extension/src/nativeStrings.json b/Extension/src/nativeStrings.json index 7aeb9d0d9..86b44fce4 100644 --- a/Extension/src/nativeStrings.json +++ b/Extension/src/nativeStrings.json @@ -557,10 +557,18 @@ "text": "GitHub login failed. Try running with --login from the command line to log in.", "hint": "{Locked=\"GitHub\"} {Locked=\"--login\"}" }, + "auth_login_failed_plugin": { + "text": "GitHub login failed. Run npx @microsoft/cpp-language-server --login", + "hint": "{Locked=\"GitHub\"} {Locked=\"npx @microsoft/cpp-language-server --login\"}" + }, "auth_eula_required": { "text": "EULA must be accepted to proceed. Run with --accept-eula.", "hint": "{Locked=\"EULA\"} {Locked=\"--accept-eula\"}" }, + "auth_eula_required_plugin": { + "text": "EULA must be accepted to proceed. Run npx @microsoft/cpp-language-server --accept-eula", + "hint": "{Locked=\"EULA\"} {Locked=\"npx @microsoft/cpp-language-server --accept-eula\"}" + }, "auth_already_authenticated": { "text": "Already authenticated with GitHub. Use --force-login to re-authenticate.", "hint": "{Locked=\"GitHub\"} {Locked=\"--force-login\"}" @@ -691,4 +699,4 @@ "help_allow_missing_lsp_config": "Allow the server to start even if the specified --lsp-config file does not exist.", "initialize_failed_during_engine_setup": "Initialization failed during engine setup.", "important_label": "Important:" -} \ No newline at end of file +}