Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

David Langley
David Langley
10,965 Points

What is the text mate thingy ???

Hi I am a complete noob so please bare with me... I am only in video 2 of the make an Iphone video and the guy brings up a window and he doesn't explain how he does it. they show how to open the developer tools "Java console" however he then has a window open and he clicks on "web" in the top right hand corner in order to make a new "myscript.js" file. how and where does he get this window from ? I can t find and "web" to click on.... Im sure this is simple but im new and want to make sure i understand this from the start. Thanks hope you can help.

6 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

You’re welcome! I’m glad I could help.

When he right clicks on the folder named “Web” he is not right clicking on Chrome at all. The panel that you see that includes the Web folder and the file “index.html” belongs to TextMate, the text editor application. Specifically, in Mac OS X applications this is called a drawer. It is a child window of TextMate. Here is an image of a drawer taken from the OS X Human Interface Guidelines document.

mac os x drawer

The “Introduction to Programming” deep dive is well worth your time if you are planning moving forward with programming. It will teach you the fundamentals that are transferable to any other programming language.

I would stay on the course of the “Become a Mobile Developer” track as it will build you skills in the most logical order to prepare you for success in iOS and/or Android development.

If I can help in any other way please let me know.

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello David,

I'll do my best to help you understand what happened and why. If you would, please provide the name of the video or a link to it so I can be sure I'm watching the right one.

Thanks.

David Langley
David Langley
10,965 Points

its in the deep dive - writing your programme http://teamtreehouse.com/library/introduction-to-programming/basics/writing-your-program

Hope you can help, I'm sure its something simple.

Thanks again.

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Okay, I see what you're referring to. TextMate is a text editor application that he is using to work with the files of the project. The application window for TextMate was hidden and he simply switched to the application to create the javascript file.

If you want to check out TextMate the link is http://macromates.com/. In the right-side menu you'll see a link to download TextMate. Of course, you are free to try any text editor as any of them can be used for the majority of the projects at Treehouse.

My personal recommendation is Sublime Text (http://www.sublimetext.com/). It's cross-platform and insanely fast! However, if you want to stay inline perfectly with the video series you are watching then TextMate is what you want to us.

I hope this helps. If not please let me know where I can embellish.

David Langley
David Langley
10,965 Points

Thanks Justin that does help allot ! I just have one more point of clarification if that's ok. At the point he creates the new Java file he clicks on what looks to be the word "web" and a pop up window then allows him to name the file "myscript.js". I cant see in my java console in Crome, is it in the console that I create the new file from or ??

Thanks for your patience.

In your opinion would you do a track on java before the iPhone track ? looks to be a level of assumed knowledge there, not too difficult to pick up but would appreciate your opinion.

Thanks again.

David Langley
David Langley
10,965 Points

fantastic answers. thanks again.