Skip to content

Commit f32be95

Browse files
rragJakob Werner
authored andcommitted
Support multi-root workspace (#22)
* Support multi-root workspace 1. Upgrade to vscode 1.1.10 to get the `getWorkspaceFolder` api 2. On change of tab refresh the files cache if workspace folder changes 3. Show info message when using plugin when workspacePath is null * Fix code review comment and update documentation * Update documentation
1 parent 3eca11a commit f32be95

File tree

7 files changed

+2840
-25
lines changed

7 files changed

+2840
-25
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@ Alternatively, you can press open command palette `F1` and search for `Relative
1010
First, you will need to install Visual Studio Code. In the command palette (`Ctrl-Shift-P` or `Cmd-Shift-P`) select `Install Extension` and choose `RelativePath`.
1111

1212
## Important
13-
Your workspace may be really big, so please wait for the initial file list to be created. This will happen only once.
13+
14+
### In Multi root workspaces:
15+
16+
Everytime you switch to a file from a different folder the files in that folder are indexed and
17+
cached to improve search performance. If you have multiple large folders part of a workspace
18+
frequent switches between folders might slow you down.
19+
20+
### In Single project workspace:
21+
The caching of the filelist in the project happens only once. If your workspace contains a lot of files
22+
please wait for the initial file list to be created.
1423

1524
## Options
1625
The following Visual Studio Code settings are available for the RelativePath extension. They can be set in user preferences (`ctrl+,` or `cmd+,`) or workspace settings (.vscode/settings.json).

0 commit comments

Comments
 (0)