Skip to content

Commit

Permalink
include workspace root as extrapath #64
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Jul 18, 2016
1 parent 4061d5e commit 74e1a5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/providers/jediProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@ function getConfig() {
}
return path.join(vscode.workspace.rootPath, extraPath);
});

// Always add workspace path into extra paths
extraPaths.unshift(vscode.workspace.rootPath);

let distinctExtraPaths = extraPaths.concat(additionalAutoCopletePaths).filter((value, index, self) => self.indexOf(value) === index);
return {
extraPaths: distinctExtraPaths,
Expand Down

0 comments on commit 74e1a5e

Please sign in to comment.