React CTC 作者: Syméon Smith
React Click to Component: Alt+hover highlights a component, Alt+scroll walks the hierarchy, Alt+click opens it in VS Code.
擴充套件後設資料
關於此擴充套件
Alt+click any React component on your local dev server to open its source file in VS Code at the right line. Alt+hover highlights the component under the pointer. Alt+scroll or Alt+↑/↓ moves up and down the component tree to pick a parent.
How to use
Requirements
Privacy
React CTC collects no data and sends nothing to any server. To find file locations, it reads only the scripts and source maps that your local dev server already serves.
Source code on GitHub
How to use
- Alt + hover: highlights the closest React component and shows its name.
- Alt + scroll up / down, or Alt + ↑ / ↓: selects the parent component, or goes back to the child.
- Alt + click: opens the highlighted component's file in VS Code.
Requirements
- A development build of React 16 to 19. Production builds do not keep source locations.
- A page on
localhost(any port, including*.localhost),127.0.0.1or[::1]. The extension does nothing on other sites. - VS Code, which handles
vscode://links.
Privacy
React CTC collects no data and sends nothing to any server. To find file locations, it reads only the scripts and source maps that your local dev server already serves.
Source code on GitHub
由 1 位評論者給出 0 分
權限與資料
更多資訊