Skip to content

Commit 55fd1c2

Browse files
committed
add neverUseCcdb setting
1 parent 6cae1cd commit 55fd1c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/served/extension.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ void delayedProjectActivation(WorkspaceD.Instance instance, string workspaceRoot
900900
didLoadDubProject();
901901

902902
string ccdbPath = proj.config.d.ccdbPath;
903-
if (!ccdbPath.length && !loadedDub)
903+
if (!ccdbPath.length && !loadedDub && !proj.config.d.neverUseCcdb)
904904
ccdbPath = discoverCcdb(workspaceRoot);
905905
bool loadedCcdb;
906906
if (ccdbPath.length)

source/served/types.d

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ struct Configuration
9898
bool enableDCDHighlight = true;
9999
bool enableFallbackHighlight = true;
100100
bool neverUseDub = false;
101+
bool neverUseCcdb = false;
101102
string[] projectImportPaths;
102103
string ccdbPath;
103104
string dubConfiguration;

0 commit comments

Comments
 (0)