Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Focus LinesNew to Visual Studio Code? Get it now.
Focus Lines

Focus Lines

Tohuw

|
2 installs
| (0) | Free
Highlights the current paragraph or code block, dims the rest. Perfect for focused writing and coding. Original by imagio.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dimmer Block

Highlights the current paragraph or code block, dims the rest. Perfect for focused writing and coding.

A modernized fork of vscode-dimmer by Cody Hoover and Andrew Morsillo.

Features

  • Paragraph-aware dimming for Markdown, plaintext, LaTeX, and other prose formats — dims everything outside the current paragraph (separated by blank lines)
  • Indentation-based block dimming for code files — highlights the current code block based on indentation level
  • Configurable opacity, delay, and context lines

Settings

Setting Default Description
dimmer.enabled false Enable/disable dimming
dimmer.opacity 50 Opacity (0-100) of dimmed text
dimmer.context 0 Extra lines above/below the current block to keep highlighted
dimmer.delay 0 Delay in ms before dimming updates
dimmer.toggleDimmerCommandScope user Whether Toggle Dimmer affects user or workspace settings

Commands

  • Toggle Dimmer — Enable or disable dimming

License

MIT

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