Extension for visual studio code, exposes commands to copy workspace relative path (optionally line number) of active file to clipboard.
Exposes two commands, accessible by command palette ("Files: Copy..."), no keybindings but define them as you want:
- relative-path-and-line.copyRelativePath
Copies the workspace relative path of current active file to the clipboard.
- relative-path-and-line.copyRelativePathAndLine
Copies the workspace relative path of current active file and cursor line number separated by colon to the clipboard.
Linux:
- requires xclip
Linux:
- requires xclip
Windows:
- untested
OSX:
- untested
Users appreciate release notes as you update your extension.
Initial release
Enjoy!