Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>get-relative-pathNew to Visual Studio Code? Get it now.
get-relative-path

get-relative-path

WingsJ

|
556 installs
| (1) | Free
get relative path
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

get-relative-path

A tool to get the path of the target file relative to the current file in the editor.

Usage

When a file is in the current editor, click the right button on the target file, and choose 'Get relative path' or 'Get relative path with import'.

Setting

Name format

The format of the variable name can be configured.

{
  "getRelativePath.nameFormat": "pascal"
}
  • pascal
  • camel
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft