- Define Machine Settings: Schema, Environment

- Scope machine settings
- Make remote settings scoped to machine settings
This commit is contained in:
Sandeep Somavarapu
2019-04-10 18:25:00 +02:00
parent dc234da073
commit f329277979
22 changed files with 159 additions and 146 deletions

View File

@@ -265,6 +265,7 @@ function getSchemaAssociation(_context: ExtensionContext): ISchemaAssociations {
}
if (fileMatch[0] === '%') {
fileMatch = fileMatch.replace(/%APP_SETTINGS_HOME%/, '/User');
fileMatch = fileMatch.replace(/%MACHINE_SETTINGS_HOME%/, '/Machine');
fileMatch = fileMatch.replace(/%APP_WORKSPACES_HOME%/, '/Workspaces');
} else if (fileMatch.charAt(0) !== '/' && !fileMatch.match(/\w+:\/\//)) {
fileMatch = '/' + fileMatch;