A Chrome extension that helps developers quickly locate HTML elements in their codebase by providing direct links to the source code.
- Visual Element Selection: Click on any element to find its source code
- Pattern Matching and Visual Grouping: Group similar elements using regex patterns, highlighting matched elements with the same color
- Exclusion Patterns: Exclude specific elements from being selectable
- File Type Filtering: Specify which file types to search in source code
- Editor Integration: Open files directly in VS Code or Windsurf
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode"
- Click "Load unpacked" and select the extension directory
- Click the extension icon to activate element selection mode
- Hover over elements to see their IDs
- Click an element to search for it in your codebase
- Find Element In Code (Bridge) extension installed and connected in your code editor.
Access the options page to configure:
- Preferred Editor: Choose between VS Code and Windsurf
- Exclusion Patterns: Regex patterns for elements to ignore
- Combining Patterns: Patterns to group matching similar elements
- File Extensions: File types to include in the search
- The extension creates a visual overlay on the webpage
- Elements are grouped based on combining patterns
- When clicked, it searches for the element's ID in your codebase
MIT License - feel free to use and modify for your needs.