Skip to content

Commit d269d01

Browse files
authored
edits: add more default exclude patterns for edit auto-approval (microsoft#264763)
* edits: add more default exclude patterns for edit auto-approval Closes microsoft/vscode-internalbacklog#5776 * dotenv too
1 parent adfe14f commit d269d01

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/vs/workbench/contrib/chat/browser/chat.contribution.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ configurationRegistry.registerConfiguration({
255255
default: {
256256
'**/*': true,
257257
'**/.vscode/*.json': false,
258+
'**/.git/**': false,
259+
'**/{package.json,package-lock.json,server.xml,build.rs,web.config,.gitattributes,.env}': false,
260+
'**/*.{csproj,fsprof,vbproj}': false,
258261
},
259262
markdownDescription: nls.localize('chat.tools.autoApprove.edits', "Controls whether edits made by chat are automatically approved. The default is to approve all edits except those made to certain files which have the potential to cause immediate unintened side-effects, such as `**/.vscode/*.json`.\n\nFiles are matched against the glob patterns in the order they are specified."),
260263
type: 'object',

0 commit comments

Comments
 (0)