Skip to content

Commit 714fa1d

Browse files
authored
add: path variables for workspace.library (#56)
1 parent cb29fe5 commit 714fa1d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content/wiki/settings.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,13 @@ Whether [git submodules](https://github.blog/2016-02-01-working-with-submodules/
13111311

13121312
Used to add library implementation code and [definition files](/wiki/definition-files) to the workspace scope. An array of absolute/workspace-relative paths that will be added to the workspace diagnosis - meaning you will get completion and context from these files. Can be a file or directory. Files included here will have some features disabled such as renaming fields to prevent accidentally renaming your library files.
13131313

1314+
A variety of variables can be used in the paths provided:
1315+
1316+
- `${env:FOO}` resolves the environment variable `FOO`.
1317+
- `${workspaceFolder}` resolves to the path of the workspace folder.
1318+
- `${workspaceFolder:bar}` resolves to the path of workspace folder named `bar`.
1319+
- `${3rd}` resolves to the location of the [built-in addons](/wiki/addons/#built-in-addons).
1320+
13141321
### workspace.maxPreload
13151322

13161323
**Type:** `integer`<br/>

0 commit comments

Comments
 (0)