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+PorCtrl+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
.vsixfile for this extension. - In VS Code, open the Extensions view (
Cmd+Shift+XorCtrl+Shift+X). - Click on the "..." (More Actions) in the top-right of the Extensions pane.
- Choose "Install from VSIX...".
- Select the downloaded
.vsixfile 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.