Add files and directories to workspace favorites. You can create groups (and subgroups) of favorite items with files and folders. Time saver for complex projects.
- add resources within workspace
- add external resources (files or directories out of workspace)
- organize favorites in groups and subgroups (nesting not limited)
- group icons can have their color changed
- basic file system operations within Favorites explorer:
- copy/cut -> paste
- create file
- delete file/directory
- rename file/directory
- duplicate file/directory
- favorite items can have alias (different label)
- items are accesible via activity bar and, optionally, as File explorer subview (see Using Favorites explorer section)
files.exclude
supported (see configuration)- language independent
- to add file or directory to favorites, right-click item in File explorer and select:
add to favorites
- to add item to root of favorites tree.add to group of favorites
- to add item to group of favorites you previously created.
you can turn off subview in File explorer by clicking on its header and deselecting it.
Open Visual Studio Code press CTRL+p and type or copy and paste:
ext install kdcro101.favorites
favorites.useWorkspace
: number - default is 0
- index of workspace to use as root when composing storage file path
favorites.useFilesExclude
: boolean
- should
files.exclude
setting be used. Default istrue
favorites.storageFilePath
: string
- overrride storage file path relative to workspace. Default is
.favorites.json
favorites.groupsFirst
: boolean
- if set to
true
, groups will be listed before directories and files, iffalse
, groups will appear after directories and files.
favorites.sortDirection
: string, ASC
or DESC
favorites.useTrash
: boolean (default false
)
- if set to
true
, extension will try to use system trash when resource (file or directory is deleted)
Right-click item in File explorer and select Add to favorites
.
Right-click item in File explorer and select Add to favorites group
, then select group from list.
Right-click item in Favorites view and select Remove from favorites
Right-click on empty area and select Create group
Right-click on group item and choose Create group
Right-click group item in Favorites view and select Remove group
Click on trash bin icon on Favorites view title, type "yes" to confirm