提交 3948b798 编写于 作者: R Rob Lourens

Fix #84355

Always open settings GUI when command is invoked with a query
上级 b33979cb
...@@ -215,7 +215,8 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({ ...@@ -215,7 +215,8 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
when: null, when: null,
primary: KeyMod.CtrlCmd | KeyCode.US_COMMA, primary: KeyMod.CtrlCmd | KeyCode.US_COMMA,
handler: (accessor, args: string | undefined) => { handler: (accessor, args: string | undefined) => {
accessor.get(IPreferencesService).openSettings(undefined, typeof args === 'string' ? args : undefined); const query = typeof args === 'string' ? args : undefined;
accessor.get(IPreferencesService).openSettings(query ? false : undefined, query);
} }
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册