https://github.com/unixzii/vscode-spotlight
A spotlight that help you focus on some lines
https://github.com/unixzii/vscode-spotlight
code editor focus highlighter vscode-extension vscode-plugin
Last synced: 11 months ago
JSON representation
A spotlight that help you focus on some lines
- Host: GitHub
- URL: https://github.com/unixzii/vscode-spotlight
- Owner: unixzii
- License: mit
- Created: 2020-02-22T09:46:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T12:41:40.000Z (12 months ago)
- Last Synced: 2025-03-20T13:11:25.248Z (11 months ago)
- Topics: code, editor, focus, highlighter, vscode-extension, vscode-plugin
- Language: TypeScript
- Size: 1.03 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-spotlight
> A spotlight that help you focus on some lines
## Overview
This extension let you dim the lines outside the selections. It can help your presentation or code reviewing process to be better.

## Features
* Multiple ranges highlighting supports
* Show the list of highlighted ranges
* Quick jump
## Usage
Open **Command Palette** and search for "Spotlight". There are the commands the extension provides:
* Change Opacity of Dimmed Text
* Clear Ranges
* Focus on the Selected Lines
* Show Highlighted Ranges
To highlight some lines, select these lines and execute "Focus on the Selected Lines" command.
## Configurations
```javascript
// The opacity of the lines outside the focus ranges.
"spotlight.dimOpacity": 0.4
```
## License
MIT