Skip to content

Commit 4970f60

Browse files
committed
Show args in default keybindings
Fixes microsoft#94556
1 parent b99790b commit 4970f60

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/vs/workbench/services/keybinding/common/keybindingIO.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ export class KeybindingIO {
3535
} else {
3636
out.write(`${quotedSerializeCommand} `);
3737
}
38-
// out.write(String(item.weight1 + '-' + item.weight2));
38+
if (item.commandArgs) {
39+
out.write(',');
40+
out.writeLine();
41+
out.write(` "args": ${JSON.stringify(item.commandArgs)} `);
42+
}
3943
out.write('}');
4044
}
4145

0 commit comments

Comments
 (0)