Skip to content

New command: "Cut to New File" #108

@nemoDreamer

Description

@nemoDreamer

I love the new "Copy Current File" command! That's why I'm suggesting a feature for this package that I haven't been able to find for a stand-alone package:

"Cut to New File"

  1. Select a block of text
  2. "ANF: Cut to New File"
  3. Enter filename
  4. Selected text is cut out of current file and pasted into new file.

Enhanced functionality

  • If new file already exists, append to it

Rationale

This is a workflow commonly used while refactoring monolithic files, to split modules, CSS groups, etc... into a more sensible folder/file hierarchy.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions