Skip to content

ShortArrow/line_number_deco

Repository files navigation

LineNumberDeco

version icon license icon PRs Welcome

LineNumberDeco is a Visual Studio Code extension. Adds relative line numbers to Visual Studio Code with decorations. This is useful if you are using one of the Emacs or Vim like plugins.

The relative line number can be displayed with only the standard function of vscode. However, when doing pair programming using liveshare or face-to-face, it is easier to communicate if absolute line numbers are displayed. This extension is useful when you want to display both absolute and relative line numbers.

This extension has not anoying for testrunners or debuggers. Because, it does not block the display of breakpoint icons, test start icons, test result icons, etc.

Recommended Usage

Use with these recomended plugins.

Features

Show relative line numbers visual representation of the action stative image

Inspired

Thank you for pioneering

VSCode Embedded Configuration

If you want not to use this extension, you can use vscode embedded configuration. editor.lineNumbers to relative then you can use relative line numbers.

{
    // ... other settings
    "editor.lineNumbers": "on" // or "relative" or "off" or "interval", "on" is default
    // ... other settings
}

Or you can use editor.lineNumbers to off. Then only show line numbers in your vscode by this extension.

License

MIT License

Road Map

  • More faster!!!
  • More variations to the decoration