I was tired of manually finding and copying the relative path of the file I was working on.
Get the extension from the VS Code Marketplace.
What It Does
- Press
Command+Shift+Con macOS, orCtrl+Shift+Con Windows and Linux, while a file is focused in the editor - Copies the file path relative to the open workspace folder
For example, if your workspace is /project and you are editing /project/src/extension.ts, the extension copies src/extension.ts.