Skip to content

Commit 118df7a

Browse files
committed
edits: require approval for .code-workspace by default
1 parent f1d5038 commit 118df7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ configurationRegistry.registerConfiguration({
268268
'**/.vscode/*.json': false,
269269
'**/.git/**': false,
270270
'**/{package.json,package-lock.json,server.xml,build.rs,web.config,.gitattributes,.env}': false,
271-
'**/*.{csproj,fsproj,vbproj,vcxproj,proj,targets,props}': false,
271+
'**/*.{code-workspace,csproj,fsproj,vbproj,vcxproj,proj,targets,props}': false,
272272
},
273273
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 unintended side-effects, such as `**/.vscode/*.json`.\n\nSet to `true` to automatically approve edits to matching files, `false` to always require explicit approval. The last pattern matching a given file will determine whether the edit is automatically approved."),
274274
type: 'object',

0 commit comments

Comments
 (0)