Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Custom Line HighlightNew to Visual Studio Code? Get it now.
Custom Line Highlight

Custom Line Highlight

Logix

|
52 installs
| (0) | Free
Allows further control of the line highlight. Modified from https://github.com/cliffordfajardo/highlight-line-vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Custom Line Highlight (Visual Studio Code Extension)

This is a simple Visual Studio Code extension, adapted from the (seemingly-abandoned) highlight-line extension by Clifford Fajardo.

This extension is intended to be used in conjunction with the "editor.renderLineHighlight": "gutter" setting (otherwise, it's redundant).

Features:

  • Supports multiple editors
  • Doesn't overlap selection highlights
  • Customizable height (defaults to 1.4em, however you can specify a height in pixels too)
  • Custom colours for active vs inactive editors

Previews:

Custom line highlight with the default line highlight set to Gutter:
Preview1

And with a selection:
Preview2

And with the full-line highlight:
Preview3

Changelog:

v0.1.0 (current):

  • Fixed line highlight not showing in other editors
  • Fixed line highlight not appearing on startup
  • Renamed (and added new) config options
  • Large code re-structuring & cleanup
    • Remember, I'm new to TypeScript (and I don't like it much)
    • Stopped using the wrong variables inside functions (now referencing the parameters instead!)
    • Bundled up the decoration types into a structure
    • Separated the code for full-line highlights and partial highlights
    • Added more events to hopefully keep the line highlight up-to-date when doing things like switching editors

v0.0.1:

  • Created the extension!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft