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

React IDE

by turadg ST2/ST3

React IDE utils for Sublime (ST3)

Labels react, jest, lazyspec, ide

Details

Installs

  • Total 70K
  • Win 30K
  • OS X 27K
  • Linux 12K
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 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
Windows 9 26 21 23 25 30 36 23 25 16 22 25 28 24 39 30 17 18 31 43 26 28 32 29 23 26 27 39 20 16 21 24 22 32 37 37 27 19 29 40 42 34 35 32 29 25
OS X 7 25 11 7 17 17 30 21 22 16 13 21 22 34 29 17 9 12 20 18 12 18 24 9 8 24 26 21 16 23 14 12 14 19 28 30 23 17 16 20 22 27 31 28 11 21
Linux 4 11 13 15 14 17 8 16 17 10 6 18 16 12 12 14 15 10 17 14 17 21 10 12 12 9 12 17 19 12 13 13 12 13 12 15 17 5 13 14 15 10 11 13 11 12

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.