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

Encoded Relative Path

yedhrab

|
1,161 installs
| (1) | Free
Get encoded relative url paths from files in the current workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔑 Encoded Relative Path

Encoded Relative path support for Visual Studio Code

Orijinal one is RelativePath

🗽 Instruction

  • Just press ✲ Ctrl ⇧ Shift H (Mac: ✲ Cmd ⇧ Shift H) and select a file.
  • If your workspace has more than 1000 files, you will be prompted to filter that list first.
  • Alternatively, you can press open command palette F1 or ✲ Ctrl ⇧ Shift P and search for Encoded Relative Path.

Example Usage

example_usage

Example Shotcut Setting

example_shortcut_setting

❗ Important

📂 In Multi root workspaces:

Everytime you switch to a file from a different folder the files in that folder are indexed and cached to improve search performance. If you have multiple large folders part of a workspace frequent switches between folders might slow you down.

📁 In Single project workspace:

The caching of the filelist in the project happens only once. If your workspace contains a lot of files please wait for the initial file list to be created.

⛏ Options

The following Visual Studio Code settings are available for the RelativePath extension. They can be set in user preferences (ctrl+, or cmd+,) or workspace settings (.vscode/settings.json).


	// An array of glob keys to ignore when searching.
	"encodedRelativePath.ignore": [
		"**/node_modules/**",
		"**/*.dll",
		"**/obj/**",
		"**/objd/**"
	],

	// A glob by which to filter results
	"encodedRelativePath.include": "/**/*.*"

	// Excludes the extension from the relative path url (Useful for systemjs imports).
	"encodedRelativePath.removeExtension": false,

	// An array of extensions to exclude from the relative path url (Useful for used with Webpack or when importing files of mixed types)
	"encodedRelativePath.excludedExtensions": [
		".js"
	],

For more options type encodedRelativePath. in settings.json.

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