Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>search-tagsNew to Visual Studio Code? Get it now.
search-tags

search-tags

TitouanCREACH

|
210 installs
| (0) | Free
Search for tags using Emmet abbreviations.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Search for tags

Search in your code by input an emmet abbreviation.

Why

This is very common to want to search an element with multiple classNames whatever they are ordered.

If you want to search an element which has bg-red-500 and text-gray-900 (because you spotted it in the "developper window" for example), you want to search element that matches:

<div className="bg-red-500 text-gray-900" />

<!-- but also -->
<div className="bg-red-500 flex text-gray-900" />

<!-- but also -->
<div className="text-gray-900 flex flex-col bg-red-500" />

This is what this plugin is made for.

Usage

  1. Open the command panel with ⌘ + ⇧ + P.

  2. Select the "Search" command.

  3. Input an Emmet abbreviation.

[!WARNING]
For this version, only a very light subset is supported. Only classes (ex: ".flex.flex-grow.gap-2") are supported.
Only single line matches are supported for now.

  1. Press Enter. A regex is copied to your clipboard.

  2. Open the search panel, make sure your have checked the "regex" checkbox, and past the content of your clipboard.

Future

  • Support Emmet abbrevitation with a tag (ex: span.bg-red-500.flex )
  • Support ids (ex: .bg-red#foo)
  • Support multilines
  • Support twc
  • More flexibility in general
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft