Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
/ get-relative-path Public archive

A VSCode extension. Get the path of the target file, relative to the current file opened in the editor.

License

Notifications You must be signed in to change notification settings

wings-j/get-relative-path

Repository files navigation

get-relative-path

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

Link: https://marketplace.visualstudio.com/items?itemName=WingsJ.get-relative-path

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

About

A VSCode extension. Get the path of the target file, relative to the current file opened in the editor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •