title: Program works in a subfolder in vscode but not if only the folder is opened
body: <p>The problem is that i have a small program that works in itself. I'm using vscode.
  This programm is currently located in a subfolder of the folder that i have opened.</p>
  <p>However, if i go to File&gt;Open Folder and select the subfolder with the program as the new main folder from which I work, nothing seems to work anymore. The program itself doesn't even start to run, no text is coloured, etc.
  Does someone know the reason for this?</p>