Skip to content

Outputs the current line in vscode for use in further automation

Notifications You must be signed in to change notification settings

pkaya89/vs-code-get-current-line

Repository files navigation

Output Line Number Extension for VS Code

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.

Features

  • Quickly copy the current line number to the clipboard with a single command.
  • Lightweight and easy to use, without any additional configurations.

Usage

  1. Open a file in VS Code.
  2. Position your cursor on any line.
  3. Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
  4. Search for the "Get Current Line Number" command and execute it.
  5. The line number of the cursor's current position will be copied to the clipboard.

Installation

  1. Download the .vsix file for this extension.
  2. In VS Code, open the Extensions view (Cmd+Shift+X or Ctrl+Shift+X).
  3. Click on the "..." (More Actions) in the top-right of the Extensions pane.
  4. Choose "Install from VSIX...".
  5. Select the downloaded .vsix file to install this extension.

Requirements

  • VS Code 1.83.0 or newer.

Known Issues

None at the moment. If you encounter any problems or have suggestions, please open an issue.

Release Notes

0.0.1

Initial release.

About

Outputs the current line in vscode for use in further automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published