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 Build a Simple PHP Application Creating the Menu and Footer Including the Header

Displaying the File/Directory on Sidebar of Sublime Text 2

I currently have index.php opened up sublime text 2. The issue is that in the sidebar it is showing in "open files". How do I get the htdocs directrory to show in the sidebar as well? Thank you

9 Answers

Orion Carrier
Orion Carrier
2,023 Points

Hi guys, Just got mine to work. Select "Add Folder to Project" from the Project menu. That displays the folder structure. But you have to leave OPEN FILES list open in the sidebar too, or you don't get to see the tabs across the top. Cooky. I'm using version 2, unpaid for, and Windows 7. Thanks Jeff!

Hi Edward,

On the menu bar click File then Open Folder... and then navigate to the htdocs directory and select Open.

Jeff

it is more of a problem with the view. I would like the htdocs folder to show in the side bar of sublime text 2 as well. The only thing showing is "open files" then underneath it "index.php". I don't know why it is not showing "htdocs". Hopefully that makes sense... When I navigate to the htdocs directory and select open it just opens up all of the files and then I click on idex.php and then it just opens up in the sidebar of the but it is still not showing the htdocs directory in the sidebar.

Hi Edward,

Just want to make sure we are on the same page. Here is a screen shot of what I'm talking about. When you do this you should then see the folder in the left hand pane. If you're talking about something different let me know.

Jeff

It seems that in my file dropdown, I don't have "open folder". All I have is "new file", "open" and "open recent"...no "open folder". Using sublime tect 2

I'm using Sublime Text 3 and it is payed for. I don't think this should make any difference though. Try downloading three and see what happens.

downloaded 3 and still nothing. Really don't understand...

Hey Edward,

Just curious, what OS are you using?

Leopoldo Benavides
Leopoldo Benavides
12,834 Points

I am currently using a mac. I followed Orion's advice. It works! Thanks.