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.

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.)