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 the current file inside the command palette.
If a file with the same name exists, the command will fail.
Move the Current File
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 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 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 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.
Configurations
ignore.patterns
Ignore folders with names that match the regular expression patterns. The items are transformed to regular expressions with new Regexp(item). Note that backslashes should not be escaped.
ignore.foldersInGitignore
Should ignore folders that are listed in .gitignore.
Release Notes
v0.0.5
Fix ignore.patterns configuration documentations.
Show invalid patterns on ignore.patterns configuration.
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'.