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 79K
  • Win 34K
  • OS X 30K
  • Linux 15K
Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4
Windows 25 16 22 28 30 20 33 30 22 8 25 21 27 22 21 20 18 27 24 20 14 32 22 16 28 33 20 35 36 19 27 31 30 21 18 22 21 24 29 27 19 37 23 23 14 33
OS X 20 21 26 19 23 23 25 23 16 13 26 27 18 24 15 14 20 17 23 19 19 18 14 16 19 17 20 22 27 19 16 26 23 21 14 29 11 20 29 22 34 23 22 8 12 26
Linux 10 8 5 13 14 17 16 15 7 8 18 12 18 13 18 17 16 17 15 11 17 8 9 8 16 19 16 8 11 8 12 17 14 12 8 10 6 12 9 9 15 6 12 5 7 11

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.