npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

code-scope-highlighter

v1.3.1

Published

Highlight the scope of matching brackets with customizable colors and flexible highlight modes.

Readme

Code Scope Highlighter - A Highlighter Extension for Better Readability

A customizable scope highlighter, inspired by Dr Racket IDE.

✨ Features

  • Universal highlighting: ScopeHighlighter works on any language!
  • Dynamic Highlighting: Instantly see the scope of matching brackets with vibrant colors.
  • HTML Tag Support: Highlight nested HTML tags with intelligent cursor positioning:
    • Place cursor on < of start tag to highlight: start tag + content + end tag
    • Place cursor on > of any tag to highlight: content inside the tag
  • Customizable Colors: Personalize your highlight colors for brackets, braces, and parentheses.
  • Flexible Modes: Choose from "near", "always", or "never" highlight modes to suit your coding style.
  • Indentation-based scope: For languages like Python and Ruby, fall back to indentation-based scope highlighting when no bracket pairs are detected.

🌟 Why ScopeHighlighter?

  • Boost Productivity: Quickly understand the structure of your code, making it easier to debug and develop.
  • Enhanced Readability: No more squinting at matching brackets; ScopeHighlighter makes it clear and straightforward.
  • Seamless Integration: Works effortlessly and fast within the VS Code ecosystem, either on desktop or the browser, thanks to the bundler esbuild.

⚙️ Extension Settings

The following settings are configured for the scope-highlighter extension:

codeScopeHighlighter.matchBrackets - Match Brackets

For color picker: https://vuetifyjs.com/en/components/color-pickers/

  • Default: near
  • Description: Choose when the scope highlight should be active:
    • near for when the cursor is near the bracket,
    • always to always highlight,
    • never to never highlight.

codeScopeHighlighter.scopeColor - Scope Color

  • Default: #4d4d4d30
  • Description: Color for highlighting the entire scope of matching brackets. (Hex format)

codeScopeHighlighter.bracketColor - Bracket Color

  • Default: #4d4d4d30
  • Description: Color for highlighting the matching brackets. (Hex format)

codeScopeHighlighter.allowHighlightIndentation - Allow Indentation Scope Highlighting

  • Default: false
  • Description: When enabled, fall back to indentation-based scope highlighting when no bracket pairs are detected. Useful for languages like Python and Ruby that use indentation for blocks.

codeScopeHighlighter.highlightIndentationLangIds - Languages for Indentation Highlighting

  • Default: ["python", "ruby"]
  • Description: Language IDs for which indentation scope highlighting is enabled when allowHighlightIndentation is on. Use VS Code language identifiers (e.g. python, ruby, yaml).

🗺️ Roadmap

  • [x] Bracket Specific Settings: Implement highlighting for specific matching bracket symbols.
  • [x] Language Specific Settings: Implement highlighting for specific programming languages (Python, Ruby).
  • [ ] HTML support: Implement highlighting for nested html tags.

📄 License

This project is licensed under the MIT - see the MIT file for details.

For Devs

  • Run npm watch
  • Start Debugging right away with F5 or Command Pallete Debug: Start Debugging