Skip to content

Commit 4c44b11

Browse files
committed
exclude '.clangd' file when using auto gen clangd files.
1 parent b29f7b4 commit 4c44b11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/EIDEProjectExplorer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4962,6 +4962,9 @@ export class ProjectExplorer implements CustomConfigurationProvider {
49624962
`${AbstractProject.EIDE_DIR}${File.sep}*.dat`,
49634963
];
49644964

4965+
if (SettingManager.instance().isEnableClangdConfigGenerator())
4966+
defExcludeList.push('.clangd');
4967+
49654968
// if this is a project, prehandle it
49664969
let prj: AbstractProject | undefined;
49674970
if (prjItem && isWorkspace == undefined) {

0 commit comments

Comments
 (0)