http://blog.csdn.net/fengzijinliang/article/details/52211735
其中,文中安装Package Control插件的命令有误,应该为:
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
开发react native推荐使用的插件:
- JSX;
- React Teamplate、react-native-snippets、ReactJS Snippets、React ES6-Snippets;
- SublimeLinter系列(强烈建议安装):SublimeLinter-eslint、SublimeLinter-jshint、SublimeLinter-jsxhint、sublime-jsfmt;
- Babel、Babel Snippets、babel-sublime;
- Emmet
emmet前端开发神器:http://www.iteye.com/news/27580
如果使用visual studio code 开发,则可以参考以下文章:
http://blog.csdn.net/asce1885/article/details/71075432
常用的vs code插件:
- React Native Tools
- Flow Language Support
- ESLint
- Prettier - JavaScript formatter
- Auto Close Tag
- Auto Rename Tag
- Color Highlight
- Document This
- Git Blame
- Rainbow Brackets
- React-Native/React/Redux snippets for es6/es7
- TODO Highlight
- Path Intellisense、AutoFileName
- EditorConfig
网友评论