File Jumper 🦘: Intelligent File Navigation for VSCodeFile Jumper is a handy VSCode extension that simplifies navigation between related files in your workspace. It detects and helps you quickly jump to associated files, based on your own rules, making your workflow more efficient. Key features
Try File Jumper today and experience a smoother, more connected file navigation experience in VSCode! 🚀 InstallationInstall the extension from the VSCode Marketplace or by searching for "File Jumper" in the VSCode extensions panel. ConfigurationCustomize the extension's behavior by modifying the settings documented here in your VSCode The extension will automatically detect changes to the configuration and update the file links accordingly. UsageTo use File Jumper, simply right-click on a file in the file explorer panel or on a file tab which has one of the icons from your configuration (which shows it has links to other files) and select "Jump to...". You'll be presented with a list of related files, which you can quickly filter and select. The chosen file will open in a new tab. Realistic ExamplesEslintThe Eslint project has the perfect structure to demonstrate the power of File Jumper. It is very organised and consistently named with:
Where the file structure in those root folders are the same, except for the prefix, which makes it easy to define patterns for linking those files together. Here is an example configuration for the Eslint project (note: the prefix capture group isn't required here as the file structure isn't nested):
This configuration and the Eslint project were used to create the demos above. This creates links between files which are visualised with icons in the file explorer as below (which also makes it easier to identify removed rules without source code or tests): RxjsThe Rxjs project is another good example, however in this case there are some naming inconsistencies e.g. there are spec files in Here is an example configuration for the Rxjs project (note: the prefix capture group isn't required here as the file structure isn't nested):
In this case we need to define multiple patterns, ie one to match the exceptions first then a fall back pattern for the normal case, which links the files as follows: ContributingThis project is still in its early stages and any contributions are welcome! Contribution guide TBC References
|