Relative File Navigator is a VS Code extension that allows you to easily access and open files located in the same directory as the currently open file. This comes in handy when you're working on a file and need to access related files, such as navigating between style and implementation files in a component-based project.
-
Quickly browse and open files in the same directory as the currently open file, it's perfect for navigating between related files in component-based projects
-
Back button for navigating to previously opened folders
-
Toggle button to group directories at the top of the list, your selection persists across VS Code restarts for a consistent navigation experience
-
Open files to the side using the split button on each file entry
-
Files and directories matching your
files.excludesettings are automatically hidden
relativeFileNavigator.open: Open Relative File Navigator - Open a Quick Pick dialog showing the files and directories in the same directory as the current file
| Shortcut | macOS | Description |
|---|---|---|
Ctrl+Shift+. |
Cmd+Shift+. |
Open Relative File Navigator |
Relative File Navigator can be installed via the VS Code Marketplace or Open VSX Registry.
- Press
Ctrl+Shift+.(Cmd+Shift+.on macOS) to open the navigator, or use the Command Palette (Ctrl+Shift+P/Cmd+Shift+P) and typeOpen Relative File Navigator - A quick pick dialog will appear, showing you the files and directories in the same directory as the current file
- Navigate through directories or open a file
Note: Display of file-type icons is not yet supported by the VS Code QuickPick API. See microsoft/vscode#59826 for progress.
If you have any suggestions or find any bugs, please feel free to create an issue or submit a pull request.
- Licensed under the MIT License. See the LICENSE file for details.
- Icon made by Freepik - Flaticon.
For the latest updates and changes, please see the CHANGELOG file.
If you like this extension and want to support its development, please consider giving it a rating on the Visual Studio Code Marketplace or sharing it with your friends and colleagues. Your support is greatly appreciated!


