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 41K
  • Win 17K
  • OS X 17K
  • Linux 7K
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 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 13 26 29 45 51 46 65 64 33 37 55 44 44 56 46 40 28 45 54 51 52 57 20 35 48 48 60 53 55 31 34 44 67 39 73 58 39 31 54 62 66 68 62 28 41 49
OS X 9 28 26 47 58 52 43 54 27 36 39 41 50 44 37 26 22 34 35 43 57 50 28 33 31 41 42 48 31 30 22 42 58 48 47 47 31 31 37 53 59 65 48 31 33 39
Linux 2 12 14 17 21 18 24 22 17 13 18 22 25 22 21 10 22 19 15 25 33 20 15 22 14 23 15 12 23 20 8 16 20 20 18 19 7 18 25 19 25 20 27 21 18 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.