Easily tag/alias files & quick switch between files.
1. File Tag - Tag/Alias/Bookmark files
2. Quick Switch - Quickly switch between files. ex. Switch between example.css & example.js using Ctrl/Cmd+E
3. Switch to Related Files - View files from the current directory and switch
-
Create, Open, Edit, Delete file tags using commands.
-
Open, View, Edit, Delete file tags from the tree view.
Quickly switch between extension pairs. ex., Switch between .css
& .js
files in the same folder.
Extend the functionality by providing custom pairs.
Note: By default, index.js
file is skipped so the file wont be considered for switch. Check fileOps.fileSwitch.excludeFiles
to override.
View all the files from the current directory
Note: All extension data is stored in a file named
.file-tag
which gets created in root workspace directory. Please do not make any changes to that file.
Add it to.gitignore
based on the needs
Run commands by opening Command Palette Control+Shift+P
/ Command+Shift+P
Quick Switch - Command+E
/ Control+E
Show related files & switch - Command+Shift+E
/ Control+Shift+E
This extension contributes the following settings:
-
fileOps.fileSwitch.quickSwitchPairs
: Array of quick switch pairs. ex.,[".js,.ts/.css,.scss"]
.Accepted regex:
/^(\.[a-z]+)(,(\.[a-z]+))*\/(\.[a-z]+)(,(\.[a-z]+))*$/
Defined values for
quickSwitchPairs
in the extension is[".js,.ts/.css,.sass,.scss", ".js/.js", ".json/.md"]
. Please create an issue for the defined pairs you require & it will be added in default value list.
fileOps.fileSwitch.excludeFiles
: Array of files names to exclude from quick switch. Default value is["index.js"]