tschf / odb-task

A task runner for VSC based on atom-build-oracle implementation
MIT License
10 stars 3 forks source link

Multi folder workspace only picks up build file in the first folder #14

Open tschf opened 5 years ago

tschf commented 5 years ago

If I have multiple project folders, currently it only observed the build file from the first folder.

Notes: On first activation, go over all workspace folders to set up build targets:

vcode.workspace.workspaceFolders

Then, when compiling a specific file, get the workspace of the active file to select a target from relevant workspace:

vscode.workspace.getWorkspaceFolder(uri)

See: https://code.visualstudio.com/docs/extensionAPI/vscode-api#_workspace

tschf commented 5 years ago

cc/ @martindsouza

martindsouza commented 5 years ago

@tschf Good description of what is happening. Some thoughts: