Skip to content

VSCode extension to easily access and open files located in the same directory as the currently open file

License

Notifications You must be signed in to change notification settings

eduarbo/vscode-relative-file-navigator

Repository files navigation

Relative File Navigator

Version License Marketplace Installs Marketplace Downloads Open VSX Downloads

Relative File Navigator is a VSCode 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.

Features

  • 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

    Relative File Navigator Extension - Demo

  • Back button for navigaing to previously opened folders

    Relative File Navigator Extension - Demo Back Button

  • Toggle button to group directories at the top of the list, your selection persists across VSCode restarts for a consistent navigation experience

    Relative File Navigator Extension - Demo Group Directories Button

Available Commands

  • relativeFileNavigator.open: Open Relative File Navigator - Open a Quick Pick dialog showing the files and directories in the same directory as the current file

Installation

Relative File Navigator can be installed via the VS Code Marketplace or Open VSX Registry.

Usage

  1. With a file open in the editor, press Ctrl+Shift+P (Cmd+Shift+P on macOS) to open the Command Palette
  2. Type Open Relative File Navigator and press Enter
  3. A quick pick dialog will appear, showing you the files and directories in the same directory as the current file
  4. Navigate through directories or open a file

TODO

  • Add localization
  • Add spanish translations
  • Bundle extension
  • Add tests
  • Add button to group directories and display them to the top
  • Hide excluded files from settings
  • Display file-type icons (not possible for now, keep an eye on: microsoft/vscode#59826)

Contributing

If you have any suggestions or find any bugs, please feel free to create an issue or submit a pull request.

License

Changelog

For the latest updates and changes, please see the CHANGELOG file.

Support

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!