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

LineNumberDeco

ShortArrow

|
2,638 installs
| (2) | Free
VSCode extension to display relative line numbers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

  • VSCode Neovim
  • Spacemacs
  • Emacs
  • VSCode Vim
  • VSpaceCode
  • Neovim UI Modifier
  • Emacs Friendly Keymap
  • Vimacs

Features

Show relative line numbers visual representation of the action stative image

Inspired

Thank you for pioneering

  • Double line numbers
  • Relative line numbers

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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft