未验证 提交 99aae3f1 编写于 作者: D Daniel Imms 提交者: GitHub

Merge pull request #95910 from microsoft/tyriar/default_kb_args

Show args in default keybindings
......@@ -31,12 +31,16 @@ export class KeybindingIO {
if (quotedSerializedWhen.length > 0) {
out.write(`${quotedSerializeCommand},`);
out.writeLine();
out.write(` "when": ${quotedSerializedWhen} `);
out.write(` "when": ${quotedSerializedWhen}`);
} else {
out.write(`${quotedSerializeCommand} `);
out.write(`${quotedSerializeCommand}`);
}
// out.write(String(item.weight1 + '-' + item.weight2));
out.write('}');
if (item.commandArgs) {
out.write(',');
out.writeLine();
out.write(` "args": ${JSON.stringify(item.commandArgs)}`);
}
out.write(' }');
}
public static readUserKeybindingItem(input: IUserFriendlyKeybinding): IUserKeybindingItem {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册