ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

React IDE

by turadg ALL

React IDE utils for Sublime (ST3)

Labels react, jest, lazyspec, ide

Details

Installs

  • Total 102K
  • Win 45K
  • Mac 37K
  • Linux 20K
May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27
Windows 9 15 15 9 21 4 18 16 18 12 16 10 12 14 21 18 8 15 21 13 21 19 21 16 18 22 18 20 16 18 5 15 17 16 27 19 21 15 16 17 18 13 13 14 19 19
Mac 3 7 8 6 7 8 8 13 10 2 4 5 8 8 9 7 3 5 13 12 6 11 5 6 3 10 12 12 17 12 7 9 11 17 21 11 5 2 6 11 12 11 11 11 3 6
Linux 5 9 3 3 15 3 9 4 6 6 8 11 10 7 6 6 2 5 8 4 7 7 6 7 5 5 9 10 10 9 7 4 9 11 5 6 5 6 8 10 14 7 8 10 4 6

Readme

Source
raw.​githubusercontent.​com

React IDE for Sublime

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.

Related

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.

Caveats

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.

Required configuration

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.)

Installation

Using Package Control

WIP: https://github.com/wbond/package_control_channel/pull/6185

Without Package Control

Navigate to your Sublime Text packages folder and git clone this project.

MacOS

“/Users/{user}/Library/Application Support/Sublime Text {2|3}/Packages”

Windows

“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.