Sublime Hax: What if you had a REPL in Sublime?

Sublime with Python REPL

I have grown so accustom to using Sublime that I when I started using Python (specifically the Anaconda package) for Spyder I was a little heart broken.

While Spyder is pretty awesome and relatively easy to use, I missed all the little stuff Sublime does for you. Also, I just really wanted to work out of one text editor. In this blog post, I will walk you though how to install SublimeREPL.

We are going to install SublimeREPL with package control, if you don’t have Sublime and/or Package Control, follow the instructions of this post first.

Install SublimeREPL
With Package Control, it is really easy to install new plugins! In Sublime hit Command + Shift + P and it will open the Command Palette. Alternatively, you can go to Tools > Command Palette. It will open up a interface towards the top of your editor like this:

Screen Shot 2015-03-25 at 10.50.07 AM

In that box, you want to find Package Control: Install Package:

Screen Shot 2015-03-25 at 10.52.25 AM

After you select it, you should get a box like this:

Screen Shot 2015-03-25 at 10.55.07 AM

In this box, type SublimeREPL and select it.

Opening your First Sublime REPL

I like to have two “screens” to see my code on one side and my REPL on the other. To do this, go to View > Layout Column 2

Screen Shot 2015-03-25 at 10.59.33 AM

Then go to Tools > SublimeREPL and choose the REPL for the language you want.
And voila! You have a REPL in Sublime!


One thought on “Sublime Hax: What if you had a REPL in Sublime?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s