Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SpotlighterNew to Visual Studio Code? Get it now.
Spotlighter

Spotlighter

Evis Drenova

|
5 installs
| (0) | Free
Dims all code outside the current function with your cursor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Spotlighter

https://github.com/user-attachments/assets/2d67fd7b-28ac-48da-95a0-f079246b3ed1

Spotlighter is a Visual Studio Code extension that dims everything outside of the current Rust function you’re editing. It helps you focus on the specific function or method under your cursor by lowering the opacity of all other code in the file.

How It Works

  • When your cursor is inside a function, Spotlighter uses symbols to determine that function’s boundaries.
  • It applies a “dim” decoration to everything else, so the function you’re working on stays fully visible.

Supported languages

  1. Rust
  2. Javascript
  3. JavascriptReact
  4. Typescript
  5. TypescriptReact
  6. Python
  7. Go

Contributing

  1. Fork the repository or clone it locally.
  2. Make changes and test them by relaunching the extension (via F5).
  3. Submit a pull request or share your fork.

License

MIT License – Feel free to modify and distribute as needed.

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