Both reactotron-react-native
ships with a plugin called openInEditor
.
With this enabled, you can now click on the error line of code to have the file open in your editor.
Wherever you setup your Reactotron in your app, you also add the additional plugin on the import
line.
import Reactotron, { openInEditor } from 'reactotron-react-native'
or
import Reactotron, { openInEditor } from 'reactotron-react-js'
Next, add it as a plugin to Reactotron.
Reactotron
.configure()
.use(openInEditor()) // <--- here we go!
.connect()