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

HTML HTML Basics Images, Text and Links Understanding File Paths

creating a sub folder on Vs code Hi. could anyone help me on how to create a sub folder in vs code

could anyone help on how to create a sub folder in vs code about this video

1 Answer

Assuming you have the Explorer panel open in VS Code and that you have a folder open, there should be 4 icons to the right of the folder name. The first one is for a new file, the second is for a new folder (the third is to refresh the explorer, and the fourth is to collapse the folders). Just click the new folder icon and then name it what you want it to be called.

VS Code reads the folder structure from your hard drive, so you can also just go into the folder structure on your computer and create a new folder there, and it will show up in VS Code. (If it doesn't, just hit the refresh button.)