File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -181,15 +181,29 @@ const createPlaceholderText = (options: ISelectPromptOptions): string => {
181
181
'Select a prompt to use' ,
182
182
) ;
183
183
184
- // if no widget reference is provided, add the note about
185
- // the `alt`/`option` key modifier users can use
184
+ // if no widget reference is provided, add the note about `options`
185
+ // and `cmd` modifiers users can use to alter the command behavior
186
186
if ( ! widget ) {
187
- const key = ( isWindows || isLinux ) ? 'alt ' : 'option ' ;
187
+ const altOptionkey = ( isWindows || isLinux ) ? 'Alt ' : 'Option ' ;
188
188
189
- text += ' ' + localize (
189
+ const altOptionModifierNote = localize (
190
190
'commands.prompts.use.select-dialog.alt-modifier-note' ,
191
- '(hold `{0}` to use in Edits)' ,
192
- key ,
191
+ '{0}-key to use in Edits' ,
192
+ altOptionkey ,
193
+ ) ;
194
+
195
+ const cmdCtrlkey = ( isWindows || isLinux ) ? 'Ctrl' : 'Cmd' ;
196
+ const superModifierNote = localize (
197
+ 'commands.prompts.use.select-dialog.super-modifier-note' ,
198
+ '{0}-key to open in editor' ,
199
+ cmdCtrlkey ,
200
+ ) ;
201
+
202
+ text += localize (
203
+ 'commands.prompts.use.select-dialog.modifier-notes' ,
204
+ ' (hold {0} or {1})' ,
205
+ altOptionModifierNote ,
206
+ superModifierNote ,
193
207
) ;
194
208
}
195
209
You can’t perform that action at this time.
0 commit comments