Skip to content

Auto approve sed -i within workspace #288318

@Tyriar

Description

@Tyriar

For example:

sed -i '' 's/JToken? Event/JsonElement? Event/' Client.cs

This will edit Client.cs, which if the cwd is determines to be within the workspace is safe when the default "chat.tools.terminal.blockDetectedFileWrites": "outsideWorkspace" is used.

Metadata

Metadata

Assignees

Labels

chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions