Skip to content

VSCode extension to copy the current file's full path along with the current line number

License

Notifications You must be signed in to change notification settings

nisanthchunduru/vscode-copy-filepath-with-line-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-copy-filepath-with-line-number

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

Screenshot 2022-11-25 at 1 58 36 AM

Screenshot 2022-11-25 at 1 56 59 AM

Install

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

Install from source

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

Support

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

FAQ

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.

About

VSCode extension to copy the current file's full path along with the current line number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published