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
Post a Comment