FileSwitcherFileSwitcher is an unopinionated VSCode extension that allows you to quickly jump to a file, of any type or location in your project, related to the currently opened file. Switch to a test file and back to your code, go from JS to CSS, from a models folder to a controllers folder, and so on. Easily write your own rules to match any file type based on your own application structure.5 PreviewSwitch FileCreate FileCommands and KeybindingsSwitch FileOpens a matching file in the current editor. If multiple matches are found a select will be displayed. Default Keybind: Switch File in Split EditorOpens a matching file like "Switch File" but in a split editor. Default Keybind: Create file from mappingWill display a list of mappings for the current file that do not exist. When selecting one it will create the file at the given path. List generated mappings for current fileDisplays the generated file names used for matching for the current file. Useful for debugging mappings. Configurationfileswitcher.mappingsA configurable set of rules for files to match related files. Mappings should be an array of JSON objects. Each object should include a The The Example
In the example above, triggering switch file on CreditsInspired by atom-ruby-test-switcher. |