This VS Code extension provides a simple command to fetch and copy the current line number you're on, making it easy to reference code locations in discussions, documentation, or other contexts.
- Quickly copy the current line number to the clipboard with a single command.
- Lightweight and easy to use, without any additional configurations.
- Open a file in VS Code.
- Position your cursor on any line.
- Open the Command Palette (
Cmd+Shift+P
orCtrl+Shift+P
). - Search for the "Get Current Line Number" command and execute it.
- The line number of the cursor's current position will be copied to the clipboard.
- Download the
.vsix
file for this extension. - In VS Code, open the Extensions view (
Cmd+Shift+X
orCtrl+Shift+X
). - Click on the "..." (More Actions) in the top-right of the Extensions pane.
- Choose "Install from VSIX...".
- Select the downloaded
.vsix
file to install this extension.
- VS Code 1.83.0 or newer.
None at the moment. If you encounter any problems or have suggestions, please open an issue.
Initial release.