|
110 | 110 | {
|
111 | 111 | "id": "inline-assist",
|
112 | 112 | "title": "Inline Chat (Experimental)",
|
113 |
| - "description": "Chat with Cody without leaving your file. Click the + button next to any line number in a file to bring up Inline Chat.\n[Enable in Settings](command:cody.walkthrough.enableInlineAssist)", |
| 113 | + "description": "Chat with Cody without leaving your file. Click the + button next to any line number in a file to bring up Inline Chat.\n[Enable in Settings](command:cody.walkthrough.enableInlineChat)", |
114 | 114 | "media": {
|
115 | 115 | "markdown": "walkthroughs/inline-assist.md"
|
116 | 116 | }
|
|
356 | 356 | "title": "Show Explain"
|
357 | 357 | },
|
358 | 358 | {
|
359 |
| - "command": "cody.walkthrough.enableInlineAssist", |
| 359 | + "command": "cody.walkthrough.enableInlineChat", |
360 | 360 | "category": "Cody Walkthrough",
|
361 | 361 | "title": "Show Inline Chat"
|
362 | 362 | },
|
363 | 363 | {
|
364 | 364 | "command": "cody.comment.add",
|
365 | 365 | "title": "Ask Cody",
|
366 | 366 | "category": "Cody Inline Chat",
|
367 |
| - "when": "cody.activated && cody.inline-assist.enabled", |
| 367 | + "when": "cody.activated && config.cody.inlineChat.enabled", |
368 | 368 | "enablement": "!commentIsEmpty"
|
369 | 369 | },
|
370 | 370 | {
|
371 | 371 | "command": "cody.comment.delete",
|
372 | 372 | "title": "Remove Comment",
|
373 | 373 | "category": "Cody Inline Chat",
|
374 |
| - "when": "cody.activated && cody.inline-assist.enabled", |
| 374 | + "when": "cody.activated && config.cody.inlineChat.enabled", |
375 | 375 | "enablement": "!commentThreadIsEmpty",
|
376 | 376 | "icon": "$(trash)"
|
377 | 377 | },
|
378 | 378 | {
|
379 | 379 | "command": "cody.comment.load",
|
380 | 380 | "title": "Loading",
|
381 | 381 | "category": "Cody Inline Chat",
|
382 |
| - "when": "cody.activated && cody.inline-assist.enabled", |
| 382 | + "when": "cody.activated && config.cody.inlineChat.enabled", |
383 | 383 | "enablement": "!commentThreadIsEmpty",
|
384 | 384 | "icon": "$(sync~spin)"
|
385 | 385 | },
|
386 | 386 | {
|
387 | 387 | "command": "cody.inline.new",
|
388 | 388 | "title": "Start a new Inline Chat session (Ctrl+Shift+C)",
|
389 | 389 | "category": "Cody Inline Assist",
|
390 |
| - "when": "cody.activated && cody.inline-assist.enabled", |
| 390 | + "when": "cody.activated && config.cody.inlineChat.enabled", |
391 | 391 | "enablement": "!commentIsEmpty"
|
392 | 392 | },
|
393 | 393 | {
|
|
397 | 397 | "enablement": "config.cody.experimental.guardrails && editorHasSelection"
|
398 | 398 | },
|
399 | 399 | {
|
400 |
| - "command": "cody.recipe.file-touch", |
| 400 | + "command": "cody.recipe.inline-touch", |
401 | 401 | "category": "Cody",
|
402 | 402 | "title": "Touch"
|
403 | 403 | },
|
|
472 | 472 | "when": "cody.activated && editorHasSelection && !editorReadonly"
|
473 | 473 | },
|
474 | 474 | {
|
475 |
| - "command": "cody.recipe.file-touch", |
| 475 | + "command": "cody.recipe.inline-touch", |
476 | 476 | "key": "ctrl+alt+/",
|
477 | 477 | "mac": "cmd+alt+/",
|
478 | 478 | "when": "cody.activated && editorTextFocus && !editorReadonly"
|
|
508 | 508 | "when": "cody.activated && editorHasSelection"
|
509 | 509 | },
|
510 | 510 | {
|
511 |
| - "command": "cody.recipe.file-touch", |
| 511 | + "command": "cody.recipe.inline-touch", |
512 | 512 | "when": "cody.activated && editorHasSelection"
|
513 | 513 | },
|
514 | 514 | {
|
|
605 | 605 | "when": "false"
|
606 | 606 | },
|
607 | 607 | {
|
608 |
| - "command": "cody.walkthrough.enableInlineAssist", |
| 608 | + "command": "cody.walkthrough.enableInlineChat", |
609 | 609 | "when": "false"
|
610 | 610 | }
|
611 | 611 | ],
|
|
629 | 629 | "when": "cody.activated"
|
630 | 630 | },
|
631 | 631 | {
|
632 |
| - "command": "cody.recipe.file-touch", |
633 |
| - "when": "cody.activated && cody.inline-assist.enabled" |
| 632 | + "command": "cody.recipe.inline-touch", |
| 633 | + "when": "cody.activated && config.cody.inlineChat.enabled" |
634 | 634 | },
|
635 | 635 | {
|
636 | 636 | "command": "cody.recipe.generate-unit-test",
|
|
725 | 725 | {
|
726 | 726 | "command": "cody.comment.add",
|
727 | 727 | "group": "inline",
|
728 |
| - "when": "cody.activated && commentController =~ /^cody-inline/ && cody.inline-assist.enabled" |
| 728 | + "when": "cody.activated && commentController =~ /^cody-inline/ && config.cody.inlineChat.enabled" |
729 | 729 | },
|
730 | 730 | {
|
731 | 731 | "command": "cody.focus",
|
732 | 732 | "group": "inline",
|
733 |
| - "when": "!cody.activated && commentController =~ /^cody-inline/ && cody.inline-assist.enabled" |
| 733 | + "when": "!cody.activated && commentController =~ /^cody-inline/ && config.cody.inlineChat.enabled" |
734 | 734 | }
|
735 | 735 | ],
|
736 | 736 | "comments/commentThread/title": [
|
737 | 737 | {
|
738 | 738 | "command": "cody.comment.delete",
|
739 | 739 | "group": "inline@1",
|
740 |
| - "when": "cody.activated && commentController =~ /^cody-inline/ && cody.replied && !commentThreadIsEmpty && cody.inline-assist.enabled" |
| 740 | + "when": "cody.activated && commentController =~ /^cody-inline/ && cody.replied && !commentThreadIsEmpty && config.cody.inlineChat.enabled" |
741 | 741 | },
|
742 | 742 | {
|
743 | 743 | "command": "cody.comment.load",
|
744 | 744 | "group": "inline@2",
|
745 |
| - "when": "cody.activated && commentController =~ /^cody-inline/ && cody.reply.pending && cody.inline-assist.enabled" |
| 745 | + "when": "cody.activated && commentController =~ /^cody-inline/ && cody.reply.pending && config.cody.inlineChat.enabled" |
746 | 746 | }
|
747 | 747 | ],
|
748 | 748 | "view/item/context": [
|
|
819 | 819 | "markdownDescription": "Enables inline code suggestions in your editor.",
|
820 | 820 | "default": true
|
821 | 821 | },
|
822 |
| - "cody.experimental.chatPredictions": { |
| 822 | + "cody.inlineChat.enabled": { |
823 | 823 | "order": 6,
|
| 824 | + "title": "Cody Inline Chat", |
824 | 825 | "type": "boolean",
|
825 |
| - "default": false, |
826 |
| - "markdownDescription": "Adds suggestions of possible relevant messages in the chat window." |
| 826 | + "markdownDescription": "Enables asking questions and requesting code changes directly from within the code editor. Use the + button next to any line of code to start an inline chat.", |
| 827 | + "default": true |
827 | 828 | },
|
828 |
| - "cody.experimental.inline": { |
| 829 | + "cody.experimental.chatPredictions": { |
829 | 830 | "order": 7,
|
830 |
| - "title": "Cody Inline Chat", |
831 | 831 | "type": "boolean",
|
832 |
| - "markdownDescription": "Enables asking questions and requesting code changes directly from within the code editor. Use the + button next to any line of code to start an inline chat.", |
833 |
| - "default": false |
| 832 | + "default": false, |
| 833 | + "markdownDescription": "Adds suggestions of possible relevant messages in the chat window." |
834 | 834 | },
|
835 | 835 | "cody.experimental.guardrails": {
|
836 | 836 | "order": 8,
|
|
0 commit comments