Skip to content
Snippets Groups Projects
Commit 6db2d6fe authored by 最萌小汐's avatar 最萌小汐
Browse files

supports prop

parent 91dd086c
Branches
Tags
No related merge requests found
......@@ -23,6 +23,12 @@ function registerCustomCommands(context) {
config.update(data.key, data.value, data.global);
continue;
}
if (data.action == 'prop') {
let value = config.get(data.key);
value[data.prop] = data.value;
config.update(data.key, value, data.global);
continue;
}
}
}));
}
......
......@@ -38,6 +38,12 @@ function registerCustomCommands(context: ExtensionContext) {
config.update(data.key, data.value, data.global);
continue;
}
if (data.action == 'prop') {
let value: Map<string, any> = config.get(data.key);
value[data.prop] = data.value;
config.update(data.key, value, data.global);
continue;
}
}
}))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment