Skip to content

I'd like to pass target path as parameter when using fileutils.moveFile, to avoid manual input #730

@skrupenin

Description

@skrupenin

Is your feature request related to a problem? Please describe.
I want a short cut to move processed file into specific subfolder. Names of subfolders are predefined. So I configured few key bindings and few commands. I wanted to leverage fileutils, but it has not option to pass target path as parameter - only manual onput. This frustrates. No automation for my case. So sad.

Describe the solution you'd like
I'd like to specify argument for the command to bypass filename edit dialog
{
"key": "ctrl+shift+1",
"command": "fileutils.moveFile",
"args": ""
}

Describe alternatives you've considered
shell commands have drawback - file changes are not saved, and VS code cannot trace file move

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions