Skip to content

Commit b7f76c5

Browse files
authored
Remove intellisenseEngineFallback description (#12655)
* Remove intellisenseEngineFallback description. * Remove references to includeFallback.
1 parent fcdccd4 commit b7f76c5

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

Extension/package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,11 +3332,6 @@
33323332
"title": "%c_cpp.command.disableErrorSquiggles.title%",
33333333
"category": "C/C++"
33343334
},
3335-
{
3336-
"command": "C_Cpp.ToggleIncludeFallback",
3337-
"title": "%c_cpp.command.toggleIncludeFallback.title%",
3338-
"category": "C/C++"
3339-
},
33403335
{
33413336
"command": "C_Cpp.ToggleDimInactiveRegions",
33423337
"title": "%c_cpp.command.toggleDimInactiveRegions.title%",
@@ -5854,10 +5849,6 @@
58545849
"command": "C_Cpp.DisableErrorSquiggles",
58555850
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
58565851
},
5857-
{
5858-
"command": "C_Cpp.ToggleIncludeFallback",
5859-
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
5860-
},
58615852
{
58625853
"command": "C_Cpp.ToggleDimInactiveRegions",
58635854
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"

Extension/package.nls.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"c_cpp.command.switchHeaderSource.title": "Switch Header/Source",
1818
"c_cpp.command.enableErrorSquiggles.title": "Enable Error Squiggles",
1919
"c_cpp.command.disableErrorSquiggles.title": "Disable Error Squiggles",
20-
"c_cpp.command.toggleIncludeFallback.title": "Toggle IntelliSense Engine Fallback on Include Errors",
2120
"c_cpp.command.toggleDimInactiveRegions.title": "Toggle Inactive Region Colorization",
2221
"c_cpp.command.resetDatabase.title": "Reset IntelliSense Database",
2322
"c_cpp.command.takeSurvey.title": "Take Survey",
@@ -469,12 +468,6 @@
469468
"c_cpp.configuration.intelliSenseEngine.default.description": "Provides context-aware results via a separate IntelliSense process.",
470469
"c_cpp.configuration.intelliSenseEngine.tagParser.description": "Provides \"fuzzy\" results that are not context-aware.",
471470
"c_cpp.configuration.intelliSenseEngine.disabled.description": "Turns off C/C++ language service features.",
472-
"c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": {
473-
"message": "Controls whether the IntelliSense engine will automatically switch to the Tag Parser for translation units containing `#include` errors.",
474-
"comment": [
475-
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
476-
]
477-
},
478471
"c_cpp.configuration.autocomplete.markdownDescription": {
479472
"message": "Controls the auto-completion provider. If `disabled` and you want word-based completion, you will also need to set `\"[cpp]\": {\"editor.wordBasedSuggestions\": <value>}` (and similarly for `c` and `cuda-cpp` languages).",
480473
"comment": [

Extension/src/LanguageServer/extension.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ export function registerCommands(enabled: boolean): void {
359359
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.AddToIncludePath', enabled ? onAddToIncludePath : onDisabledCommand));
360360
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.EnableErrorSquiggles', enabled ? onEnableSquiggles : onDisabledCommand));
361361
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.DisableErrorSquiggles', enabled ? onDisableSquiggles : onDisabledCommand));
362-
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ToggleIncludeFallback', enabled ? onToggleIncludeFallback : onDisabledCommand));
363362
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ToggleDimInactiveRegions', enabled ? onToggleDimInactiveRegions : onDisabledCommand));
364363
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.PauseParsing', enabled ? onPauseParsing : onDisabledCommand));
365364
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ResumeParsing', enabled ? onResumeParsing : onDisabledCommand));
@@ -754,12 +753,6 @@ function onDisableSquiggles(): void {
754753
settings.update<string>("errorSquiggles", "disabled");
755754
}
756755

757-
function onToggleIncludeFallback(): void {
758-
// This only applies to the active client.
759-
const settings: CppSettings = new CppSettings(clients.ActiveClient.RootUri);
760-
settings.toggleSetting("intelliSenseEngineFallback", "enabled", "disabled");
761-
}
762-
763756
function onToggleDimInactiveRegions(): void {
764757
// This only applies to the active client.
765758
const settings: CppSettings = new CppSettings(clients.ActiveClient.RootUri);

0 commit comments

Comments
 (0)