VSCode extension to copy the current file's full path along with the current line number
The extension is very useful for giving rspec (or a different unit test runner) the current file's full path along with the current line number
Visit https://marketplace.visualstudio.com/items?itemName=nisanthchunduru.copy-filepath-with-line-number and click the "Install" button
Press Alt + l (Ctrl + l on MacOS) to copy the current file's path and current line number
If you'd like to install from source, clone the repo
git clone [email protected]:nisanthchunduru/vscode-copy-filepath-with-line-number.git
Install the extension
script/install.sh
If you run into an issue while installing/using the extension, please report it here https://github.com/nisanthchunduru/vscode-copy-filepath-with-line-number/issues
Q: The keyboard shortcut doesn't work on my machine
A: Press Cmd + Shift + p (Ctrl + Shift + p on Windows/Linux), search for "Copy current file full path with current line number" and press Enter. If it's successfully copies, a different extension may be overriding this keyboard shortcut. Search for the "Prefereces: Open Keyboard Shortcuts" command and map a keyboard shortcut of your liking to the "Copy current file full path with current line number" command.