Skip to content

Commit 74e1a5e

Browse files
committed
include workspace root as extrapath #64
1 parent 4061d5e commit 74e1a5e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/client/providers/jediProxy.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ function getConfig() {
463463
}
464464
return path.join(vscode.workspace.rootPath, extraPath);
465465
});
466+
467+
// Always add workspace path into extra paths
468+
extraPaths.unshift(vscode.workspace.rootPath);
469+
466470
let distinctExtraPaths = extraPaths.concat(additionalAutoCopletePaths).filter((value, index, self) => self.indexOf(value) === index);
467471
return {
468472
extraPaths: distinctExtraPaths,

0 commit comments

Comments
 (0)