Skip to content

No way to easily copy or move symbols from one file to another, or from one place in a file to another #792

@finebalancetech

Description

@finebalancetech

Is your feature request related to a problem? Please describe.
When refactoring, a common task is to move code between modules, or between places in a module. Currently, this requires a multi step process where the body of the symbol is read, processed by the LLM, and then sent back to insert into a new location, and then to remove the old code. This is error prone, because as we all know LLMs hallucinate, especially during complex operations.

Describe the solution you'd like
Add an MCP tool to move symbol from one place to another- the exact code is copied or moved without any modifications.

Describe alternatives you've considered
Doing it by hand is slow and tedious, and relying on the LLM to copy code verbatim is energy efficient and error prone.

Additional context
None

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