Skip to content

Commit 32fd803

Browse files
committed
Updated readme.md with new settings options
1 parent 75bb9e0 commit 32fd803

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,28 @@ Alternatively, you can press open command palette `F1` and search for `Relative
77
![GIF](https://media.giphy.com/media/3oEduJ5iRksPxpwoXC/giphy.gif)
88

99
## How to use
10-
First, you will need to install Visual Studio Code 0.10. In the command palette (`Ctrl-Shift-P` or `Cmd-Shift-P`) select `Install Extension` and choose `RelativePath`.
10+
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
1313
Your workspace may be really big, so please wait for the initial file list to be created. This will happen only once.
1414

1515
## Options
16-
The following Visual Studio Code setting is available for the RelativePath extension. It can be set in user preferences (`ctrl+,` or `cmd+,`) or workspace settings (.vscode/settings.json).
17-
18-
{
19-
"relativePath.ignore": ["**/node_modules/**","**/*.dll"]
20-
}
16+
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).
17+
```javascript
18+
// An array of glob keys to ignore when searching.
19+
"relativePath.ignore": [
20+
"**/node_modules/**",
21+
"**/*.dll",
22+
"**/obj/**",
23+
"**/objd/**"
24+
],
25+
26+
// Excludes the extension from the relative path url (Useful for systemjs imports).
27+
"relativePath.removeExtension": false,
28+
29+
// Removes the leading ./ character when the path is pointing to a parent folder.
30+
"relativePath.removeLeadingDot": false
31+
```
2132

2233
## Bugs
2334
Report them [here](https://github.com/jakob101/RelativePath).

0 commit comments

Comments
 (0)