update initial file loading to use URIs passed from the client

changes to the appSourceRoot now require an extension restart
This commit is contained in:
Dave Holoway
2020-06-30 18:32:15 +01:00
parent b2eb0c973b
commit 7aa04dfc56
6 changed files with 63 additions and 182 deletions

View File

@@ -25,12 +25,11 @@ const defaultSettings = {
return;
}
this.updateCount += 1;
console.log(`settings set: ${JSON.stringify(values)}`);
for (let key in defaultSettings) {
for (let key in defaultSettings) {
if (Object.prototype.hasOwnProperty.call(values, key)) {
this[key] = values[key];
}
}
}
}
}