zh-lx/code-inspector

🚀 Click the dom to open your IDE and position the cursor at dom's source code location! 点击页面 dom 来打开 IDE 并将光标自动定位到源代码位置!

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 22nd, 2026
Created on February 21st, 2022
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 241
Total Stargazers: 3,038 (+0)
Total Subscribers: 16 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.6 hours
Mean response time: 9.2 days
90th percentile: 23.9 days
Tracked items: 159

How this project is maintained

Practically every issue opened in the past year has drawn a reply. Work labelled "need confirm" is answered fastest, typically in under an hour, while "enhancement" waits about 3 days. 97% of issues opened in the past year have since been closed. Three people close 85% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 473 days
Stale 30+ days: 3
Stale 90+ days: 3

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • resolved (39)
  • bug (32)
  • enhancement (23)
  • need confirm (11)
  • not a bug (5)
  • good first issue (3)
  • not in plan (2)
  • pending (2)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Code-inspector is a development tool that enables clicking on page elements to automatically open your IDE and position the cursor at the corresponding source code location.

The tool solves the friction of mapping rendered UI back to source files during development. It works by instrumenting your build process through plugins for webpack, Vite, rspack, rsbuild, farm, esbuild, turbopack, and mako. When you click an element in the browser, the tool identifies its source location and launches your configured editor with the cursor positioned at that exact line.

The tool supports a broad range of web frameworks including Vue, React, Preact, Solid, Qwik, Svelte, and Astro, as well as meta-frameworks like Next.js, Nuxt, and Umi. It works with multiple editors through a launch mechanism that detects your environment. This breadth makes it suitable for teams using different technology stacks within the same organization. The README does not compare it to alternatives, so no comparative positioning is available.

The project shows consistent maintenance with regular updates to support new framework versions and build tools. The codebase is written in TypeScript and includes comprehensive documentation covering configuration for each supported bundler and framework. Online demos are maintained for multiple framework combinations, indicating active engagement with keeping examples functional.