This plugin contains some commands to assist in developing React components.
- Switch between component and test
- Switch between component and stylesheet
- Make import for current file
If the test isn't defined yet, the command will attempt to run LazySpec to autogenerate one.
If you're using Atom, Nuclide is way better. I built this because I still prefer Sublime.
If you want snippets, try React Development Snippets.
It makes some huge assumptions about how your files are organized. PRs welcomed to relax these.
It doesn't yet support more than one project.
Open Preferences > Package Settings > React IDE > Settings - User
and make it look like this:
{
"src": "/Users/<username>/path/to/your/project/"
}
(Note the trailing slash.)
WIP: wbond/package_control_channel#6185
Navigate to your Sublime Text packages folder and git clone this project.
"/Users/{user}/Library/Application Support/Sublime Text {2|3}/Packages"
"C:\Users{user}\AppData\Roaming\Sublime Text {2|3}\Packages"
git clone https://github.com/turadg/sublime-react-ide.git
Sublime should pick up the changes automatically, without having to restart.