Remove intellisenseEngineFallback description (#12655)
* Remove intellisenseEngineFallback description. * Remove references to includeFallback.
This commit is contained in:
Родитель
fcdccd4dff
Коммит
b7f76c507c
|
@ -3332,11 +3332,6 @@
|
|||
"title": "%c_cpp.command.disableErrorSquiggles.title%",
|
||||
"category": "C/C++"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleIncludeFallback",
|
||||
"title": "%c_cpp.command.toggleIncludeFallback.title%",
|
||||
"category": "C/C++"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleDimInactiveRegions",
|
||||
"title": "%c_cpp.command.toggleDimInactiveRegions.title%",
|
||||
|
@ -5854,10 +5849,6 @@
|
|||
"command": "C_Cpp.DisableErrorSquiggles",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleIncludeFallback",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleDimInactiveRegions",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
"c_cpp.command.switchHeaderSource.title": "Switch Header/Source",
|
||||
"c_cpp.command.enableErrorSquiggles.title": "Enable Error Squiggles",
|
||||
"c_cpp.command.disableErrorSquiggles.title": "Disable Error Squiggles",
|
||||
"c_cpp.command.toggleIncludeFallback.title": "Toggle IntelliSense Engine Fallback on Include Errors",
|
||||
"c_cpp.command.toggleDimInactiveRegions.title": "Toggle Inactive Region Colorization",
|
||||
"c_cpp.command.resetDatabase.title": "Reset IntelliSense Database",
|
||||
"c_cpp.command.takeSurvey.title": "Take Survey",
|
||||
|
@ -469,12 +468,6 @@
|
|||
"c_cpp.configuration.intelliSenseEngine.default.description": "Provides context-aware results via a separate IntelliSense process.",
|
||||
"c_cpp.configuration.intelliSenseEngine.tagParser.description": "Provides \"fuzzy\" results that are not context-aware.",
|
||||
"c_cpp.configuration.intelliSenseEngine.disabled.description": "Turns off C/C++ language service features.",
|
||||
"c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": {
|
||||
"message": "Controls whether the IntelliSense engine will automatically switch to the Tag Parser for translation units containing `#include` errors.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.autocomplete.markdownDescription": {
|
||||
"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).",
|
||||
"comment": [
|
||||
|
|
|
@ -359,7 +359,6 @@ export function registerCommands(enabled: boolean): void {
|
|||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.AddToIncludePath', enabled ? onAddToIncludePath : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.EnableErrorSquiggles', enabled ? onEnableSquiggles : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.DisableErrorSquiggles', enabled ? onDisableSquiggles : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ToggleIncludeFallback', enabled ? onToggleIncludeFallback : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ToggleDimInactiveRegions', enabled ? onToggleDimInactiveRegions : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.PauseParsing', enabled ? onPauseParsing : onDisabledCommand));
|
||||
commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ResumeParsing', enabled ? onResumeParsing : onDisabledCommand));
|
||||
|
@ -754,12 +753,6 @@ function onDisableSquiggles(): void {
|
|||
settings.update<string>("errorSquiggles", "disabled");
|
||||
}
|
||||
|
||||
function onToggleIncludeFallback(): void {
|
||||
// This only applies to the active client.
|
||||
const settings: CppSettings = new CppSettings(clients.ActiveClient.RootUri);
|
||||
settings.toggleSetting("intelliSenseEngineFallback", "enabled", "disabled");
|
||||
}
|
||||
|
||||
function onToggleDimInactiveRegions(): void {
|
||||
// This only applies to the active client.
|
||||
const settings: CppSettings = new CppSettings(clients.ActiveClient.RootUri);
|
||||
|
|
Загрузка…
Ссылка в новой задаче