Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FocusNew to Visual Studio Code? Get it now.
Focus

Focus

QuanLi

|
12,467 installs
| (4) | Free
Help you focus the code.Highlight the lines/code block/indent you are editing.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Focus

Marketplace Version Installs Rating

Highlight code lines/code blcok what you are focus on.

Usage

Features

  • Highlight current line.
  • Highlight fixed configuration numbers of lines.
  • Highlight lines by indent.
  • Highlight code block.

Usages

  • Just install it.
  • We provide commands and statusbar button that help you quickly change level.

Usage

Configuration

Set the level by json or UI:

"focus.highlightRange":"line"   //Highlight current line
"focus.highlightRange":"block"  //Highlight code block which range by `{` and `}`
"focus.highlightRange":"indent" //Highlight lines by indent
"focus.highlightRange":"fixed"  //Highlight line counts by configuration

When the level set to fixed,configurate how many line to highlight:

"focus.highlightLines":5

Configurate opacity:

"focus.opacity":0.7 //number between (0,1)

Usage

Change Log

See Change Log here

Issues

Submit the issues if you find any bug or have any suggestion.

Contribution

Fork the repo and submit pull requests.

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