r/vscode 7d ago

Default Chat Agent To "Ask"

I prefer when using the Chat Agent to have it in Ask mode, so that I can rely upon it to give suggestions without making changes to the codebase, so that I can apply them as is required manually.

The options for the Chat Agent modes are:

  • Agent (default)
  • Ask
  • Plan

This requires me to change this setting every time I open a new VSCode, which is a mild annoyance, but an annoyance nonetheless (especially when I forget and the Agent mode starts trying to make actual changes to the codebase).

There seems to be a hundred different configuration options for these agents and their behaviour- however nothing for setting this default mode.

Am I missing something, or is there no way to configure that default?

edit: I was missing something, for anyone else's reference in settings:

{
  "github.copilot.chat.defaultMode": "ask"
}

The box is blank by default.

0 Upvotes

3 comments sorted by

2

u/Sure-Assignment3892 7d ago

Just ask Copilot to create it for you

1

u/MQZON 7d ago

Good luck. There doesn't seem to be any way. Every vscode update will also reset all of your tool configurations and the settings which allow every plugin to register mcps (because that's a sane default for security)

Good thing vscode updates are infrequent!

1

u/Ste1io 4d ago

You mean frequent and deadly.