dillon1000/react

Commit

[DevTools] Allow all file links in Chrome DevTools to open in external editor (#33985)

Stacked on #33983.

Allow React to be configured as the default handler of all links in
Chrome DevTools. To do this you need to configure the Chrome DevTools
setting for "Link Handling:" to be set to "React Developer Tools". By
default this doesn't do anything but if you then check the box added in
#33983 it starts open local files directly in the external editor.

This needs docs to show how to enable that option.

(As far as I can tell this broke in Chrome Canary 🙄 but hopefully fixed
before stable.)
Browse files
Changed paths4 files
First-parent comparison
M packages/react-devtools-extensions/src/main/index.js ModifiedM packages/react-devtools-shared/src/devtools/views/Editor/EditorPane.js ModifiedM packages/react-devtools-shared/src/devtools/views/Settings/CodeEditorByDefault.js ModifiedM packages/react-devtools-shared/src/devtools/views/Settings/GeneralSettings.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…