Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in XcodeNew to Visual Studio Code? Get it now.
Open in Xcode

Open in Xcode

luan

|
254 installs
| (0) | Free
Open current file in Xcode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 git@github.com: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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft