Skip to content

quantum-li/focus

Repository files navigation

Focus

Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Highlight code you are focused on.

Usage

Features

  • Highlight some lines around the cursor, and control how many lines.
  • Highlight some lines that are wrapped in "{}", and control the level of "{}".

Usage

  • Install it.

Configuration

Set how your code should be highlighted:

"focus.highlightRange":"block"  //Highlight code block which is ranged by `{` and `}`
"focus.highlightRange":"fixed"  //Highlight line count by configuration
"focus.highlightRange":"none"   //Disable highlight

When set to block, the configuration below controls the level of "{}":

"focus.autoMatchLevel":-1

When the level is set to fixed, configure how many lines to highlight:

"focus.highlightLines":5

Configure opacity:

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

Change Log

See Change Log here

Issues

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

Contributing

Fork the repo and submit pull requests.

About

A vscode extension that help to highlight lines which you focus on.

Resources

License

Stars

17 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors