Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-more-file-commandNew to Visual Studio Code? Get it now.
vscode-more-file-command

vscode-more-file-command

dlguswo333

|
42 installs
| (0) | Free
Add more file commands to the command palette that improve productivity
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-more-file-command README

vscode extension "vscode-more-file-command" adds file-related commands to the command palette so you can rename, move or create a file easily.

Features

Rename the Current File

rename

Rename the current file inside the command palette.

  • If a file with the same name exists, the command will fail.

Move the Current File

move

Move the current file to a different folder inside the command palette.

  • You can move the current file inside the workspace folder.
  • If a file with the same name exists, the command will fail.
  • You may select whether to ignore folders listed in .gitignore.
  • You may specify folder name patterns to ignore.

Delete the Current File

delete

Delete the current file permanently inside the command palette.

  • The extension will ask you again to make sure you are okay with deleting the file.

Create New File

create

Create a new file at the selected folder.

  • You can select a folder inside the workspace folder.
  • Once you have selected a folder, the command will execute vscode built-in File: New File command inside the folder.
  • You may select whether to ignore folders listed in .gitignore.
  • You may specify folder name patterns to ignore.

Close All Removed Editors

close

Close all editors that show files that have been removed.

  • Useful when you have lots of files that are being created or removed; e.g. git checkout.
  • It will not close editors that are either modified or pinned.

Release Notes

v0.0.4

  • Add new option: Whether to ignore folders listed in .gitignore.
  • Add new option: Specify folder name patterns to ignore.

v0.0.3

  • Add new command: 'More File Command: Close All Removed Editors'.
  • 'Move the Current File' and 'Create New File' commands list folders' paths relative to the workspace folder.

v0.0.2

  • Add new command: 'More File Command: Delete Current File'.
  • Fix some commands not work on Windows platform.

v0.0.1

  • First release of the extension.

Contributing

  • Open an issue if there is any problem.
  • Create a pull request if you want to improve the code.

Developments

This repository uses npm as package manager. originally used pnpm but vsce does not support offcially as of early 2024, thus we switched to npm. Check out the link for more: https://github.com/microsoft/vscode-vsce/issues/421

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft