#21214 clairify that only project wide intellisense is being disabled when configure excludes shows

This commit is contained in:
Matt Bierner
2017-02-23 14:58:44 -08:00
parent 1ad0809980
commit eab23cd0dc

View File

@@ -50,8 +50,8 @@ class ExcludeHintItem {
public show(configFileName: string, largeRoots: string, onExecute: () => void) {
this._currentHint = {
message: largeRoots.length > 0
? localize('hintExclude', "To enable JavaScript/TypeScript IntelliSense, exclude folders with many files, like: {0}", largeRoots)
: localize('hintExclude.generic', "To enable JavaScript/TypeScript IntelliSense, exclude large folders with source files that you do not work on."),
? localize('hintExclude', "To enable project-wide JavaScript/TypeScript language features, exclude folders with many files, like: {0}", largeRoots)
: localize('hintExclude.generic', "To enable project-wide JavaScript/TypeScript language features, exclude large folders with source files that you do not work on."),
options: [{
title: localize('open', "Configure Excludes"),
execute: () => {
@@ -73,7 +73,7 @@ class ExcludeHintItem {
};
this._item.tooltip = this._currentHint.message;
this._item.text = localize('large.label', "Configure Excludes");
this._item.tooltip = localize('hintExclude.tooltip', "To enable JavaScript/TypeScript IntelliSense, exclude large folders with source files that you do not work on.");
this._item.tooltip = localize('hintExclude.tooltip', "To enable project-wide JavaScript/TypeScript language features, exclude large folders with source files that you do not work on.");
this._item.color = '#A5DF3B';
this._item.show();
this._client.logTelemetry('js.hintProjectExcludes');