Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Relative Path FinderNew to Visual Studio Code? Get it now.
Relative Path Finder

Relative Path Finder

mszkarlat

|
4 installs
| (0) | Free
Find a file and insert its relative path from the current file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Relative Path Finder

Find a file in your workspace and insert its relative path into the active file.

Quick features:

  • Command: Find File and Insert Relative Path
  • Configurable ignored folders via workspace/user settings.

Configuration

  • relativePathFinder.ignoreFolders (array of strings): list of folder names or glob patterns to ignore when searching for files. Default: ["node_modules"].
    • Examples:
      • node_modules → ignored as **/node_modules/**
      • dist → ignored as **/dist/**
      • **/vendor/** → used as provided (glob)

Where to change ignore settings

  • Open Settings (Command Palette → Preferences: Open Settings (UI)) and search for Relative Path Finder.
  • Or edit your settings.json:
"relativePathFinder.ignoreFolders": ["node_modules", "dist"]

Changelog See CHANGELOG.md for recent changes.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft