Skip to content

Option to fully disable automatic edits to All Files #1736

@hsyhhssyy

Description

@hsyhhssyy

Some time ago, I opened a PR suggesting an option to completely disable the plugin’s behavior of modifying users’ file PackageName and ClassName. As far as I remember, it was closed at the time because there did not seem to be a clear use case.

Recently, I came across a scenario where this option could be genuinely useful: Copilot Agent Mode. In Agent Mode, the AI may try to create files from scratch and fill in their PackageName and ClassName on its own. I found that in some cases, the plugin then changes those values afterward, and Copilot may interpret the resulting file as incorrect and start editing it again. This can lead to unnecessary rework.

That behavior may also lead to additional token usage. While Copilot itself may not be billed by token usage, the plugin can also work with other tools such as Claude, where those extra edits may result in avoidable token costs.

Because of this, I think it could be helpful for the plugin to provide an option to fully disable all automatic file editing behavior, so users who prefer to let the AI handle everything can do so.

Even Copilot provides a way to disable Inline Copilot, partly to avoid extra suggestions and unnecessary token usage while using Agent Mode and simply browsing code. For a similar reason, having a full opt-out here might be useful for some workflows as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions