Created
September 4, 2023 15:33
-
-
Save petmongrels/58d51d1192dc9b92b61b91ea2876f492 to your computer and use it in GitHub Desktop.
Open files in react native stack trace from emulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE="`echo $1 | cut -d':' -f 1`" | |
LINE_NUMBER="`echo $1 | cut -d':' -f 2`" | |
open -na "IntelliJ IDEA.app" --args --line $LINE_NUMBER $FILE | |
## Also set REACT_EDITOR env variable to this file | |
## if you call this file idea then | |
## export REACT_EDITOR=idea |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment