For everyone what the bug is: If you use multiple folders for your VS Code Workspace, the path to the Papyrus Source codes needs to be at the top of your .code-workspace file.
This bug happens regardless of if you tell the extension in its settings to use that folder. It also only happens if you have multiple folders in your VS Code Workspace, and it also doesn't happen if you don't save your workspace as a workspace file.