Closed BYK closed 4 months ago
Here's how React Dev Tools does it: https://github.com/facebook/create-react-app/blob/main/packages/react-dev-utils/launchEditor.js
Here's a sample usage: https://github.com/gregberge/error-overlay-webpack-plugin/blob/main/src/entries/basic.mjs
Looks like this will have to be on Sidecar side.
Even better, we have this: https://github.com/yyx990803/launch-editor
We should make each error line / context line clickable somewhere which then opens it in the default editor.