Skip to content

Commit

Permalink
add neverUseCcdb setting
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed May 2, 2024
1 parent 6cae1cd commit 55fd1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/served/extension.d
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ void delayedProjectActivation(WorkspaceD.Instance instance, string workspaceRoot
didLoadDubProject();

string ccdbPath = proj.config.d.ccdbPath;
if (!ccdbPath.length && !loadedDub)
if (!ccdbPath.length && !loadedDub && !proj.config.d.neverUseCcdb)
ccdbPath = discoverCcdb(workspaceRoot);
bool loadedCcdb;
if (ccdbPath.length)
Expand Down
1 change: 1 addition & 0 deletions source/served/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ struct Configuration
bool enableDCDHighlight = true;
bool enableFallbackHighlight = true;
bool neverUseDub = false;
bool neverUseCcdb = false;
string[] projectImportPaths;
string ccdbPath;
string dubConfiguration;
Expand Down

0 comments on commit 55fd1c2

Please sign in to comment.