Skip to content

Commit 7713f0b

Browse files
committed
optimize cpptools settings
1 parent 8708686 commit 7713f0b

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/EIDEProject.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,11 @@ class EIDEProject extends AbstractProject {
29742974
}
29752975

29762976
if (settings['C_Cpp.errorSquiggles'] === undefined) {
2977-
settings['C_Cpp.errorSquiggles'] = "Disabled";
2977+
settings['C_Cpp.errorSquiggles'] = "disabled";
2978+
}
2979+
2980+
if (this.getToolchain().name == 'COSMIC_STM8') {
2981+
settings["C_Cpp.intelliSenseEngine"] = "Tag Parser";
29782982
}
29792983

29802984
// remove some c/c++ configs

src/OperationExplorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import { ToolchainName, ToolchainManager } from './ToolchainManager';
5757
import { GitFileInfo } from './WebInterface/GithubInterface';
5858
import { TemplateIndexDef, TemplateInfo } from './WebInterface/WebInterface';
5959
import * as utility from './utility';
60-
import * as toolchainLicence from './ToolchainLicenceActive';
60+
import * as toolchainLicence from './ToolchainLicenceActivate';
6161

6262
import * as events from 'events';
6363
import * as fs from 'fs';

0 commit comments

Comments
 (0)