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

Highlight Logical Line

Alexander

|
3,343 installs
| (1) | Free
For word-wrapped line it seems logical to highlight the entire line that spans several visual lines.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Highlight logical line

Please, upvote this feature to be in the core editor: vscode/36839


Highlights the entire active line:

Demo

Color can be changed in Settings:

"workbench.colorCustomizations": {
	"highlightLogicalLine.background": "#00000030",
	// also can be changed per each theme
	"[Default Dark+]": {
		"highlightLogicalLine.background": "#ff000020"
	}
}

Recommended Settings:

"editor.renderLineHighlight": "gutter",

It is also recommended to use transparent colors:

  • ❌ #000000
  • ✅ #00000088
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft