Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Gyobango1New to Visual Studio Code? Get it now.
Gyobango1

Gyobango1

Satoshi Endo

|
2 installs
| (0) | Free
Find the Visual line number (wrapped line number) at the current cursor position.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gyobango1

Gyobango1 is a Visual Studio Code extension that calculates the visual line number (wrapped line number) of the current cursor position. Unlike standard line numbers that only count logical lines based on newline characters, kazoeru also takes wrapped lines (visual lines) into account. This is especially useful in documents with long wrapped lines, so you can see exactly how many lines are above the cursor. The counted visual line number is displayed as a pop-up in the bottom left of the screen.

Features

  • Visual Line Count:
    Calculates the number of visual lines from the top of the file to the current cursor position by simulating upward cursor movement.

  • Accurate for Wrapped Lines:
    Even if a single logical line is wrapped into multiple display lines, the extension accurately counts each visual line.

  • Easy to Use:
    Simply open any text file, place the cursor, and run the command from the Command Palette or short-cut key.

Requirements

  • Visual Studio Code (or CURSOR, as it is based on VS Code)
  • No additional dependencies are required.

Usage

  1. Open a text file in VS Code (or CURSOR).
  2. Place the cursor at the desired position.
  3. Open the Command Palette (Ctrl+Shift+P).
  4. Run the command 視覚的上移動可能回数をカウント.
  5. An information message will display the number of visual lines from the top of the file to your current cursor position.

Additionally, a Hello World command is included for testing purposes.

Commands

  • Hello World:
    Displays a simple greeting message.

  • 視覚的上移動可能回数をカウント:
    Moves the cursor upward repeatedly (visually) until it can no longer move, counts the number of moves, then returns the cursor to its original position and displays the count.

Extension Settings

No extension-specific settings are provided at this time.

Known Issues

  • The extension currently supports a single primary cursor only.
  • The visual line count is based on the behavior of the built-in cursorUp command. Future changes in VS Code may affect its accuracy.

Release Notes

0.0.1

  • Initial release of kazoeru.
  • Added command to calculate visual line number.
  • Basic "Hello World" command for testing.

Contributing

Contributions, bug reports, and feature requests are welcome! Please feel free to open an issue or submit a pull request on the GitHub repository.

License

This extension is licensed under the MIT License. See the LICENSE file for details.

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