Open File in Editor Support
See original GitHub issueIn the React Native simulator, you can tap a stack frame and your editor will open to that file.
To do this, they POST to ‘/open-stack-frame’ passing along {file, lineNumber}.
What happens next is kinda involved.
Supporting every single editor doesn’t mentally scale, but maybe just offering a callback/plugin to haul where one could define their editor?
Would you guys be open to a PR supporting a dumbed down version of this to start?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Open files in the editor | PyCharm Documentation
Choose File | Open on the main menu and select the desired file in the dialog box that opens. Drag the required file...
Read more >How to: Open Editors for Open Documents - Visual Studio ...
To open a project-specific editor for an open file · Call the IsDocumentOpen method. · If the document is open, the project must...
Read more >yyx990803/launch-editor: Open file in editor from Node.js.
Open file with line numbers in editor from Node.js. The main functionality is extracted from react-dev-utils with slight modifications so that it can...
Read more >open-in-editor
NPM package to open a file in editor. Supported editors: Sublime Text · Atom Editor · Visual Studio Code · WebStorm · PhpStorm ......
Read more >Editing/Opening Files
You can make the command open the file in any external editor in preferences. From submenu File(s) > Edit (alternative) you can open...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Gonna leave this here. I know nothing about it… looks promising. as does everything when you don’t install it.
Will tackle it this weekend. If someone beats me to it, that’s 100% ok with me! 😃
AFAIK React Native Packager reads
EDITORandREACT_EDITOR, so we should probably do that.