This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 39
imports
Marcel Kloubert edited this page Dec 30, 2017
·
7 revisions
Defines one or more setting files to import.
Relative paths will be mapped to your home directory (.vscode-deploy-reloaded
sub folder) or the .vscode
folder.
{
"deploy": {
"imports": [
"./myDeploySettings.json",
{
"from": "\\\\MyCompany\\MyProject\\teamSettngs.json"
}
]
}
}
{
"deploy": {
"imports": [
"./myDeploySettings.json"
]
}
}
{
"deploy": {
"imports": [
{
"from": "\\\\MyCompany\\MyProject\\teamSettngs.json",
"if": " 'kloubert_pc' !== $v['hostname'] "
}
]
}
}
Name | Description |
---|---|
from |
The source (file) with the settings to import. Relative paths will be mapped to the current user's home directory (.vscode-deploy-reloaded ) or settings (.vscode ) folder. |
if |
(JavaScript) Code, which checks if import entry should be used or not. |
platforms |
One or more platform names the entry is for. s. process.platform |