Multi-SourceThis is an easy way of switching between source directories in a build environment. Specifically made for platformio where I often have many very similar projects with only the src folder being different. This allows you to pick one of several source folders and generate a symbolic link to the one selected which can then be used as the source folder in the build system. Example Project Structure
This extension is enabled by the presence of a
You can switch between source directories by the status bar item in the bottom right which also displays the current source folder or by the "Pick Source Folder" command. Updated as of 22 Dec 2022Two configuration options were added:
If projectFileRegex is not blank, folders in sources will be recursively traversed to find the first folder which contains an entry whose filename matches projectFileRegex. This allows for nested project structures:
If projectFileRegex is blank, this will be taken as two projects,
|