File FocusFile Focus provides quick access to frequently accessed source code and configuration files. Multiple files in a focus group can be opened with a single click to quickly resume working on different issues/tickets. Pin a focus group to automatically maintain a history of open files. With this feature, you can start working on an Issue/Ticket and file focus will automatically keep track of the files you are working on. If you like having one project per workspace you can group files and folders that are commonly used in your language of choice and file focus will automatically make them available from the groups you have defined. For people that love multi-folder workspaces, you can re-group files and folders across workspace folders. Great for quick navigation where you can’t remember the file name or when working on big projects to avoid long scrolling through the file explorer. If you want to share or highlight commonly used files and folders with your team you can store a configuration file along with your source code to make groups automatically available to all people working on the project. Like this vs-code extension? Please consider subscribing to my channel and sharing the extension with your friends and colleagues. For bug reports and code contributions head on over to: Features
What is New
Getting Started
You can open files directly from a focus group. Folders added to a "focus group" can be navigated like any other folder. Tips & Tricks
Extension SettingsUse Global StorageFile focus groups are stored globally, available in workspaces and synced to all your devices. By default, focus groups are stored in your workspace allowing you to define a different set of focus groups per workspace. Focus Groups are NOT transferred between global and workspace storage. Sort KeyChoose how resources are sorted. Basename, sort resources only by the file name. Path, sort resources by the full path. Handy when grouping resources from multiple projects and you want to still keep project files together. Show Project GroupsEnables project group. When enables the extension looks for focus groups defined in a .filefocus file in the root of a workspace folder. This allows for defining project groups that are available to all users of a project. Add to pinned group on openWhen enabled files are automatically added to a focus group when opened in the editor. This allows automatic tracking of files you are currently working on. Using Project Specific Focus Groups.Focus groups can be made available to all users of a project by manually creating a .filefocus.json file in the root of your workspace folders. File Focus will merge the focus definition in all configuration files with the used personal defined focus groups. The file focus extension does not write to this file. Therefore, any changes made to project focus groups will be lost after VS Code exits. Currently, it is required that this file is manually created and populated. The file has the following format: Example Configuration File.filefocus.json This extension expects to find this file in the root of the workspace folder.
Each item of the "store" array defines a focus group. The name property of a focus group defines the name that is shown in the user interface for that group. The path array defines the resources that are shown when the group is expanded. Each path is a string that contains the relative path to the resources. Known Issues
|