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

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

Martina Carrington
Martina Carrington
15,754 Points

what is the manual way to add the project in sublime

when i was using the subl. to bring my project into sublime it didn't work . i was wondering what is the manual way to bring the lavaral homestead project into sublime

2 Answers

Sean Henderson
Sean Henderson
15,413 Points

Wow, I have the same issue - sometimes the subl command either opens an empty window or opens ane existing window with another project I'm working on.

Anyway, here are some methods to open a project folder up in sublime text. All tested on OSX, but I imagine the menu names are the same in Linux and Windows.

  1. Go to 'File' > 'Open', select the folder with your project, and click 'Open' (CMD+o on a mac).
  2. Drag and drop the folder on to the sublime text application in your dock or windows bar.

Also, you can add multiple folders from anywhere to one project by navigating to 'Project' > 'Add Folder To Project', then go to 'Project' > 'Save Project As' to create a quick shortcut.

To get the sub l. command to work:

1) Check this SublimeText2 info out first:

http://www.sublimetext.com/docs/2/osx_command_line.html

2) That didn't work for me, so I looked further.

Found this easy answer (for Macs) on Stackoverflow:

First, check to see if your Sublime Text2 is in your Applications folder. (If not, move it there.)

Go to your terminal and type:

open -a Finder /usr/bin

This will open your Finder to the /usr/bin directory. Once you're there open a new Finder window (you can click on the finder icon in your tray), go to Applications, right click on the Sublime Text icon and go to Show Package Contents folder, then to Contents folder, SharedSupport folder, then bin folder. Copy the subl file and paste it into the other Finder window showing /usr/bin

That's it! You should be set to use the command:

subl .