|
217 | 217 | ], |
218 | 218 | "menus": { |
219 | 219 | "commandPalette": [ |
220 | | - { |
221 | | - "command": "aws.amazonq.signout", |
222 | | - "when": "false" |
223 | | - }, |
224 | 220 | { |
225 | 221 | "command": "aws.amazonq.reconnect", |
226 | 222 | "when": "false" |
227 | 223 | }, |
228 | | - { |
229 | | - "command": "aws.amazonq.openReferencePanel", |
230 | | - "when": "false" |
231 | | - }, |
232 | 224 | { |
233 | 225 | "command": "amazonq.dev.openMenu", |
234 | 226 | "when": "aws.isDevMode" |
|
365 | 357 | { |
366 | 358 | "command": "aws.amazonq.explainCode", |
367 | 359 | "title": "%AWS.command.amazonq.explainCode%", |
368 | | - "category": "%AWS.amazonq.title%" |
| 360 | + "category": "%AWS.amazonq.title%", |
| 361 | + "enablement": "aws.codewhisperer.connected" |
369 | 362 | }, |
370 | 363 | { |
371 | 364 | "command": "aws.amazonq.security.scan", |
372 | 365 | "title": "%AWS.command.amazonq.security.scan%", |
373 | | - "category": "%AWS.amazonq.title%" |
| 366 | + "category": "%AWS.amazonq.title%", |
| 367 | + "enablement": "aws.codewhisperer.connected" |
374 | 368 | }, |
375 | 369 | { |
376 | 370 | "command": "aws.amazonq.refactorCode", |
377 | 371 | "title": "%AWS.command.amazonq.refactorCode%", |
378 | | - "category": "%AWS.amazonq.title%" |
| 372 | + "category": "%AWS.amazonq.title%", |
| 373 | + "enablement": "aws.codewhisperer.connected" |
379 | 374 | }, |
380 | 375 | { |
381 | 376 | "command": "aws.amazonq.fixCode", |
382 | 377 | "title": "%AWS.command.amazonq.fixCode%", |
383 | | - "category": "%AWS.amazonq.title%" |
| 378 | + "category": "%AWS.amazonq.title%", |
| 379 | + "enablement": "aws.codewhisperer.connected" |
384 | 380 | }, |
385 | 381 | { |
386 | 382 | "command": "aws.amazonq.optimizeCode", |
387 | 383 | "title": "%AWS.command.amazonq.optimizeCode%", |
388 | | - "category": "%AWS.amazonq.title%" |
| 384 | + "category": "%AWS.amazonq.title%", |
| 385 | + "enablement": "aws.codewhisperer.connected" |
389 | 386 | }, |
390 | 387 | { |
391 | 388 | "command": "aws.amazonq.sendToPrompt", |
392 | 389 | "title": "%AWS.command.amazonq.sendToPrompt%", |
393 | | - "category": "%AWS.amazonq.title%" |
| 390 | + "category": "%AWS.amazonq.title%", |
| 391 | + "enablement": "aws.codewhisperer.connected" |
394 | 392 | }, |
395 | 393 | { |
396 | 394 | "command": "aws.amazonq.reconnect", |
397 | 395 | "title": "%AWS.command.codewhisperer.reconnect%", |
398 | | - "category": "%AWS.amazonq.title%" |
| 396 | + "category": "%AWS.amazonq.title%", |
| 397 | + "enablement": "aws.codewhisperer.connected" |
399 | 398 | }, |
400 | 399 | { |
401 | 400 | "command": "aws.amazonq.openReferencePanel", |
402 | 401 | "title": "%AWS.command.codewhisperer.openReferencePanel%", |
403 | | - "category": "%AWS.amazonq.title%" |
| 402 | + "category": "%AWS.amazonq.title%", |
| 403 | + "enablement": "aws.codewhisperer.connected" |
404 | 404 | }, |
405 | 405 | { |
406 | 406 | "command": "aws.amazonq.transformationHub.reviewChanges.acceptChanges", |
|
455 | 455 | { |
456 | 456 | "command": "aws.amazonq.invokeInlineCompletion", |
457 | 457 | "title": "%AWS.command.codewhisperer.title%", |
458 | | - "category": "%AWS.amazonq.title%" |
| 458 | + "category": "%AWS.amazonq.title%", |
| 459 | + "enablement": "aws.codewhisperer.connected" |
459 | 460 | }, |
460 | 461 | { |
461 | 462 | "command": "aws.amazonq.configure", |
|
475 | 476 | "category": "%AWS.amazonq.title%", |
476 | 477 | "icon": "$(debug-disconnect)" |
477 | 478 | }, |
| 479 | + { |
| 480 | + "command": "aws.amazonq.signout", |
| 481 | + "title": "%AWS.command.codewhisperer.signout%", |
| 482 | + "category": "%AWS.amazonq.title%", |
| 483 | + "enablement": "aws.codewhisperer.connected" |
| 484 | + }, |
478 | 485 | { |
479 | 486 | "command": "aws.amazonq.learnMore", |
480 | 487 | "title": "%AWS.amazonq.learnMore%", |
|
501 | 508 | "command": "aws.amazonq.showHistoryInHub", |
502 | 509 | "title": "Show Job Status", |
503 | 510 | "icon": "$(history)" |
| 511 | + }, |
| 512 | + { |
| 513 | + "command": "aws.amazonq.selectCustomization", |
| 514 | + "title": "%AWS.codewhisperer.customization.notification.new_customizations.select%", |
| 515 | + "category": "%AWS.amazonq.title%", |
| 516 | + "enablement": "aws.codewhisperer.connected" |
| 517 | + }, |
| 518 | + { |
| 519 | + "command": "aws.amazonq.gettingStarted", |
| 520 | + "title": "Try inline suggestion examples", |
| 521 | + "category": "%AWS.amazonq.title%", |
| 522 | + "enablement": "aws.codewhisperer.connected" |
| 523 | + }, |
| 524 | + { |
| 525 | + "command": "aws.amazonq.toggleCodeSuggestion", |
| 526 | + "title": "%AWS.amazonq.toggleCodeSuggestion%", |
| 527 | + "category": "%AWS.amazonq.title%", |
| 528 | + "enablement": "aws.codewhisperer.connected" |
| 529 | + }, |
| 530 | + { |
| 531 | + "command": "aws.codeWhisperer.toggleCodeScan", |
| 532 | + "title": "%AWS.amazonq.toggleCodeScan%", |
| 533 | + "category": "%AWS.amazonq.title%", |
| 534 | + "enablement": "aws.codewhisperer.connected" |
504 | 535 | } |
505 | 536 | ], |
506 | 537 | "keybindings": [ |
|
0 commit comments