We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dfc649 commit d927fdaCopy full SHA for d927fda
extension/src/fetch.ts
@@ -41,9 +41,13 @@ export async function fetchAndUpdate(ctx: ExtensionContext, prompt = true) {
41
42
if (shouldUpdate) {
43
const config = workspace.getConfiguration()
44
- config.update('explorer.fileNesting.enabled', true, true)
+
45
+ if (config.inspect('explorer.fileNesting.enabled').globalValue == null)
46
+ config.update('explorer.fileNesting.enabled', true, true)
47
48
if (config.inspect('explorer.fileNesting.expand').globalValue == null)
49
config.update('explorer.fileNesting.expand', false, true)
50
51
config.update('explorer.fileNesting.patterns', {
52
'//': `Last update at ${new Date().toLocaleString()}`,
53
...patterns,
0 commit comments