Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Foundations Variables Shadowing

Blaine Fallis
Blaine Fallis
2,449 Points

what text editor is Jim Hoskins using in these JavaScript Fundamentals videos?

I like that he can comment out a segment of code with one keystroke, and the result uses // before each line. Not /*. In Textwrangler I don't get that. I do have Textmate and Xcode but tend to use Textwrangler.

7 Answers

Blaine,

You can achieve the same type of formatting by using an application called Sublime Text (http://www.sublimetext.com/). When not using Workspaces, most of the teachers here at Treehouse use Sublime Text to write their code. I think if you take a look at its website, it may be appealing to you. I don't know if Jim is using Sublime in the video but it looks similar.

Cheers!

I would have to agree with Shawn. Sublime Text 2 will change your life when developing with its ability to allow you to get to anything (get files, change syntax type, or pull something down using terminal) quicker than you every thought possible. Also Emmet a package made for sublime text will allow you to write less code and get things done insanely fast.

Link: http://docs.emmet.io

James Barnett
James Barnett
39,199 Points

I'm pretty sure that's Textmate.

Blaine Fallis
Blaine Fallis
2,449 Points

well, since I already owned 1.5, I upgraded to TextMate 2.0 alpha, and found some basic Youtube training on it, and it's looking great using the Blackboard theme. At my current level though it doesn't really take the fanciest tools to program Hello World.

I was working some code in XCode 5 though and liked how it automatically sensed variable names and brings a popup there for easy completion while typing. The python teacher I'm learning from says "no copying and pasting!" so I wonder? Does that count? His method is that by typing it you're learning it. But still, it's good to work in the flow IMHO.

I was surprised that Jim didn't use a variable name of "petard" in his segment on Hoisting though.

Blaine Fallis
Blaine Fallis
2,449 Points

Thanks Shawn. It does look impressive.

I found a good cheat sheet of Textmate shortcuts, such as Cmd / that comments and uncomments selected areas of code. pdf textmate cheat sheet

That's what I was looking to do. I'm pumped. Since I already owned Textmate 1.5 I was happy the upgrade to 2 alpha was free, and am enjoying the Blackboard theme.

He is using TextMate, but I believe that is only available for mac. If you don't have a mac, I recommend using Sublime Text 2.

You can see all the other answers, but if you wanted a similar free editor, Brackets is very good for web development.

Brackets looks interesting! Do you know anywhere that has some good tutorials on it?

James Barnett That's awesome! So helpful! Thanks!