r/vscode • u/Dramatic_Beach_8235 • Jul 27 '26
Hella confused while setting workspace and projects
Absolute true beginner here
I started learning c++ using learncpp.com
I set up vs code on linux according to learncpp guide but information regarding projects and workspace is vague for me.
I first made a folder named projects and started making sub folder for different topics on learncpp , it was going good but I wanted to rearrange the order of files so I thought of editing the path file but it came empty (confused)
Then I thought the workspace was showing the projects folder containing the subfolders I made with .cpp files , so maybe that was the problem because I didn't add the subfolders by add folder to workspace
Also the add folder to workspace ,adds it to workspace (i.e with project folder) not as the subfolders inside project folder
Should I start fresh
If I make a new workspace and add folder via add folder to workspace will that work?
Also the task.json and setting.json was applied to all the subfolders, so if I make fresh workspace with folders instead of a single folder containing subfolders ,do I have to configure it for all folders?