Skip to content

Commit 40fc7ee

Browse files
authored
Make Copilot settings real settings (#6407)
* Make Copilot settings real settings * PR feedback!
1 parent 280dba1 commit 40fc7ee

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,21 @@
461461
"default": "auto",
462462
"markdownDescription": "%githubPullRequests.createDefaultBaseBranch.description%"
463463
},
464+
"githubPullRequests.experimental.chat": {
465+
"type": "boolean",
466+
"markdownDescription": "%githubPullRequests.experimental.chat.description%",
467+
"default": false
468+
},
469+
"githubPullRequests.experimental.notificationsView": {
470+
"type": "boolean",
471+
"markdownDescription": "%githubPullRequests.experimental.notificationsView.description%",
472+
"default": false
473+
},
474+
"githubPullRequests.experimental.useQuickChat": {
475+
"type": "boolean",
476+
"markdownDescription": "%githubPullRequests.experimental.useQuickChat.description%",
477+
"default": false
478+
},
464479
"githubIssues.ignoreMilestones": {
465480
"type": "array",
466481
"default": [],

package.nls.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
"githubPullRequests.createDefaultBaseBranch.repositoryDefault": "The default branch of the repository",
8787
"githubPullRequests.createDefaultBaseBranch.createdFromBranch": "The branch that the current branch was created from, if known",
8888
"githubPullRequests.createDefaultBaseBranch.auto": "When the current repository is a fork, this will work like \"repositoryDefault\". Otherwise, it will work like \"createdFromBranch\".",
89+
"githubPullRequests.experimental.chat.description": "Enables the `@githubpr` Copilot chat participant in the chat view. `@githubpr` can help search for issues and pull requests, suggest fixes for issues, and summarize issues, pull requests, and notifications.",
90+
"githubPullRequests.experimental.notificationsView.description": "Enables the notifications view, which shows a list of your GitHub notifications. When combined with `#githubPullRequests.experimental.chat#`, you can have Copilot sort and summarize your notifications.",
91+
"githubPullRequests.experimental.useQuickChat.description": "Controls whether the Copilot \"Summarize\" commands in the Pull Requests, Issues, and Notifications views will use quick chat. Only has an effect if `#githubPullRequests.experimental.chat#` is enabled.",
8992
"githubIssues.ignoreMilestones.description": "An array of milestones titles to never show issues from.",
9093
"githubIssues.createIssueTriggers.description": "Strings that will cause the 'Create issue from comment' code action to show.",
9194
"githubIssues.createIssueTriggers.items": "String that enables the 'Create issue from comment' code action. Should not contain whitespace.",

src/lm/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { commands } from '../common/executeCommands';
88
import { EXPERIMENTAL_USE_QUICK_CHAT, PR_SETTINGS_NAMESPACE } from '../common/settingKeys';
99

1010
export function chatCommand(): typeof commands.QUICK_CHAT_OPEN | typeof commands.OPEN_CHAT {
11-
const useQuickChat = vscode.workspace.getConfiguration(PR_SETTINGS_NAMESPACE).get<boolean>(EXPERIMENTAL_USE_QUICK_CHAT, true);
11+
const useQuickChat = vscode.workspace.getConfiguration(PR_SETTINGS_NAMESPACE).get<boolean>(EXPERIMENTAL_USE_QUICK_CHAT, false);
1212
if (useQuickChat) {
1313
return commands.QUICK_CHAT_OPEN;
1414
}

0 commit comments

Comments
 (0)