From 7392a0177c37a7eeee91a993e112f7a2fb60610f Mon Sep 17 00:00:00 2001 From: Chris Wendt Date: Wed, 13 Mar 2019 18:22:09 -0700 Subject: [PATCH] s/Imprecise results/References: Search mode/ --- generator/src/main.ts | 4 ++-- template/package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/generator/src/main.ts b/generator/src/main.ts index 579b5c6c8..260d8579d 100644 --- a/generator/src/main.ts +++ b/generator/src/main.ts @@ -130,8 +130,8 @@ function main(): void { '-i', /"These locations are computed using heuristics.*"/, langSpec.hasLanguageServer - ? `"These locations are computed using heuristics. Use a language server for precise results."` - : `"These locations are computed using heuristics."`, + ? `"Results come from text search and heuristics. To use a language server for precise results, click to go to the README and follow the deployment instructions."` + : `"Results come from text search and heuristics."`, 'package.json' ) shell.sed('-i', /LANGNAME\b/g, languageID, 'README.md') diff --git a/template/package.json b/template/package.json index 9fb882313..2ef1fbdb6 100644 --- a/template/package.json +++ b/template/package.json @@ -21,14 +21,14 @@ "actions": [ { "id": "impreciseResults", - "title": "Imprecise results", + "title": "References: Search mode", "command": "open", "commandArguments": [ "GENERATOR:IMPRECISE_RESULTS_URL" ], "actionItem": { - "label": "Imprecise results", - "description": "These locations are computed using heuristics. (If available:) use a language server for precise results." + "label": "References: Search mode", + "description": "Results come from text search and heuristics. (Language server mode is not available for $LANG.)/(To use a language server for precise results, ...)" } } ],