react native - Changing default JavaScript editor for iOS simulator -


i using react-native develope ios app. when click on error on ios simulator, opens sublime text editor.

is there way change behaviour opens error file in ide(webstorm)?

i've tried deleting sublime text or changing file association in get info, none of them worked.

you should add environment variable named react_editor in profile file , set ide of choice. work zshell added following line .zshrc file

export react_editor="/applications/intellij\ idea.app/contents/macos/idea"

don't forget close of terminal windows , restart react-native packager before try it.


Comments

Popular posts from this blog

iOS: Performance of reloading UIImage(name:...) -

How to prevent logback from emitting repeated "Empty watch file list. Disabling" messages -

c# SetCompatibleTextRenderingDefault must be called before the first -