Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Code Spotlight — Code MagnifierNew to Visual Studio Code? Get it now.
Code Spotlight — Code Magnifier

Code Spotlight — Code Magnifier

Neelakantan

|
1 install
| (0) | Free
Magnify and present selected code in real time
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Spotlight

Code Spotlight Icon

Code Spotlight lets you magnify selected code in a dedicated panel — perfect for presentations, live demos, teaching, streaming, and screen recording.

No more squinting at small fonts or zooming your entire editor.


✨ Features

  • 🔍 Magnify selected code in a separate panel
  • 🔄 Live mode – automatically updates as selection changes
  • 🧷 Manual mode – freeze the spotlight when Live is off
  • 🎯 Syntax highlighting (TypeScript, TSX, JavaScript, JSX, Python, Java, and more)
  • 🔠 Font size controls (A+ / A−)
  • 🖥️ Presentation fullscreen mode
  • 🖱️ Ctrl + Scroll zoom (works with mouse & laptop touchpad)
  • 🚀 Lightweight and fast

📸 Demo

Demo GIF

Select code → Open Code Spotlight → Live toggle → Zoom → Fullscreen

Tip: Extensions with GIFs get more installs on the Marketplace.


🚀 Getting Started

  1. Select any code in the editor
  2. Open the Command Palette:
    • Windows / Linux: Ctrl + Shift + P
    • macOS: Cmd + Shift + P
  3. Run: Code Spotlight: Magnify Selection

A spotlight panel opens beside your editor.


🎛️ Toolbar Controls

Control Description
A+ / A− Increase or decrease font size
Live Toggle live selection updates
Fullscreen Maximize the spotlight panel
Ctrl + Scroll Zoom in/out (works with mouse wheel and laptop touchpad)

🔄 Live vs Manual Mode

  • Live ON: Spotlight updates automatically as you change selection
  • Live OFF: Spotlight stays frozen — useful when explaining a specific snippet

🧠 Why Code Spotlight?

  • Presenting code in meetings
  • Teaching programming
  • Recording tutorials
  • Streaming coding sessions
  • Code walkthroughs without distracting UI

🛠 Supported Languages

Syntax highlighting is powered by PrismJS and supports:

  • TypeScript / TSX
  • JavaScript / JSX
  • Python
  • Java
  • And more (automatically loaded)

⚙️ Default Shortcut (optional)

You can assign a shortcut to Code Spotlight: Magnify Selection:

  • Windows/Linux: Ctrl + Alt + M
  • macOS: Cmd + Alt + M

📦 Extension Status

✅ Stable
🚀 Actively developed
🎯 Focused on clarity & presentations


🐞 Feedback & Contributions

Found a bug or have a feature request?
Feel free to open an issue or suggestion.


📄 License

MIT

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