If a project's code is distributed across several folders, as in the case of an application and library code, you might need a multi-root workspace.
To create a multi-root workspace:
-
Add new folders using File > Add Folder to Workspace.
-
Save the multi-root workspace to a
.code-workspacefile using File > Save Workspace As....
Until saved, the multi-root workspace settings are stored in a temporary file.