Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>React-CodeBridgeNew to Visual Studio Code? Get it now.
React-CodeBridge

React-CodeBridge

Dev.Odyssey

|
37 installs
| (2) | Free
Click any UI element in your browser to instantly jump to its React source code in VS Code. Works with React-DomPicker Chrome extension.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React-CodeBridge - VS Code Extension

Visual Studio Marketplace Version License

Click any UI element in your browser to instantly jump to its React source code in VS Code.

React-CodeBridge works together with the React-DomPicker Chrome extension to create a seamless workflow for navigating from browser UI elements to their source code.


✨ What's New in v1.2.0

Enhanced Fuzzy Search with Multi-Factor Ranking!

This release dramatically improves source code matching accuracy:

  • 🎯 Smarter Matching - New multi-factor ranking system with 8 weighted factors
  • 📊 Confidence Scoring - See match quality (high/medium/low/very-low) in logs
  • 🔍 Context-Aware - Uses surrounding elements, headers, and page context
  • 🎨 Better Debugging - Output shows factors that contributed to each match
  • 📈 Higher Accuracy - Especially for elements without unique IDs or in complex hierarchies

See CHANGELOG.md for complete details.


📢 Chrome Extension Status

⏳ Chrome Web Store Listing: Pending Review

Until the Chrome extension is approved, please download it manually from the GitHub release page:

👉 Download React-DomPicker Chrome Extension

Installation instructions are included in the release notes.


🎯 What Does This Extension Do?

Stop wasting time searching for component files! React-CodeBridge lets you click any element in your browser and instantly opens the exact React component file in VS Code.

Perfect for:

  • ✅ Large React codebases with hundreds of components
  • ✅ Working with component libraries (Tailwind, ShadCN, Material-UI)
  • ✅ Navigating unfamiliar codebases
  • ✅ Speeding up your development workflow

🚀 How to Use

Step 1: Install This Extension

  1. Open VS Code
  2. Go to Extensions (Cmd/Ctrl + Shift + X)
  3. Search for "React-CodeBridge"
  4. Click Install

Step 2: Install Chrome Extension

You must also install the React-DomPicker Chrome extension:

Option 1 (Recommended when available): Install from Chrome Web Store (currently pending review)

Option 2 (Available now): Download from GitHub Releases and install manually:

  1. Download the React-DomPicker.zip from the release page
  2. Extract the zip file to a folder on your computer
  3. Open Chrome and go to chrome://extensions/
  4. Enable "Developer mode" (toggle in top-right corner)
  5. Click "Load unpacked"
  6. Select the extracted folder
  7. The extension is now installed and ready to use!

Step 3: Start Using It!

  1. Open your React project in VS Code
  2. Run your development server (npm run dev)
  3. Open your app in Chrome
  4. Click the React-DomPicker extension icon in Chrome toolbar
  5. Click any element on your webpage
  6. VS Code automatically opens the source file!

That's it! The extension works automatically in the background.


✨ Features

  • Instant Navigation - Click in browser, file opens in VS Code
  • Accurate Targeting - Opens the exact component, not just the file
  • Auto-Start - Extension starts automatically when you open VS Code
  • Multiple Strategies - Finds your components even in complex projects
  • Localhost Only - Secure, works only on your local development server
  • No Configuration - Works out of the box with sensible defaults

⚙️ Settings

Access via: Settings → Search "React-CodeBridge"

Setting Default What it does
Port 51234 WebSocket server port
Show Notifications Off Show popup when files open
Detailed Logging On Extra logs for debugging

Most users don't need to change anything!


🛠️ Supported Technologies

Frameworks

  • React 16.8+, React 17, React 18
  • Next.js
  • Create React App
  • Vite

Styling

  • Tailwind CSS
  • ShadCN UI
  • styled-components
  • CSS Modules
  • Plain CSS/SCSS

Languages

  • TypeScript (.tsx)
  • JavaScript (.jsx)

❓ Troubleshooting

Extension Not Working?

Check these things:

  1. ✅ Chrome extension is installed and activated (icon should be colored)
  2. ✅ Your app is running on localhost or 127.0.0.1
  3. ✅ You're running in development mode (npm run dev, not production build)
  4. ✅ VS Code status bar shows "React Bridge: ON"

Files Not Opening?

Make sure:

  • Your React app is in development mode (production builds don't work)
  • You opened the project root folder in VS Code
  • You clicked elements on localhost/127.0.0.1 pages only

Need More Help?

View detailed logs: View → Output → Select "React-CodeBridge"

Report issues: GitHub Issues


🔐 Privacy & Security

  • ✅ 100% Local - Everything runs on your computer
  • ✅ No Data Collection - We don't collect or send any data
  • ✅ No Internet Required - Works completely offline (after installation)
  • ✅ Localhost Only - Only works with local development servers

Your code never leaves your machine.


🎉 Start Using It Now!

  1. ✅ Install this VS Code extension
  2. ✅ Install React-DomPicker Chrome extension
  3. ✅ Run your React app in development mode
  4. ✅ Click any element in your browser
  5. ✅ Watch VS Code open the right file instantly!

⭐ Help Us Improve!

Enjoying React-CodeBridge? Your feedback helps us make it better!

  • 📝 Leave a review on VS Code Marketplace - Share your experience and help others discover this tool
  • ⭐ Star the GitHub repository - Show your support
  • 🐛 Report bugs or suggest features - Help us build what you need

Your reviews and ratings make a huge difference! Thank you for using React-CodeBridge! 🙏

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