Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 517 Bytes

plugin-open-in-editor.md

File metadata and controls

23 lines (15 loc) · 517 Bytes

Open In Editor

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.

Usage

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'

Next, add it as a plugin to Reactotron.

Reactotron
  .configure()
  .use(openInEditor()) // <--- here we go!
  .connect()