Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-root support #958

Merged
merged 67 commits into from
Jan 16, 2020
Merged

Conversation

xisui-MSFT
Copy link
Collaborator

The major UI differences comparing to the original version of CMake Tools are:

  1. Status bar (blue bar on the bottom of the screen) should show the “active folder”, and all status after are corresponding to the current active folder. By default, active folder changes based on the file being viewed/edited in vscode. This behavior can be changed by user/workspace setting “Auto select active folder” to false. If so, clicking on the “active folder” on status bar will show a menu for picking the desired active folder. This change does not affect single root case.
  2. A lot of commands with “all”/”for all projects”, such as “configure all”, “build all” and “debug all”.
  3. For project outline view, top level buttons are changed to “-all” version of the commands.

@bobbrow bobbrow added this to the 1.3.0 milestone Dec 31, 2019
@terrelln
Copy link

terrelln commented Jan 9, 2020

Just wanted to drop in and say that I'm really looking forwards to this feature!

@bobbrow bobbrow merged commit 4fa7e03 into microsoft:develop Jan 16, 2020
@Zingam
Copy link
Contributor

Zingam commented Jan 18, 2020

I get an exception with the attached sample project configured as is, which maybe related to this PR.
CMakeMultiProject.zip

image

@bobbrow
Copy link
Member

bobbrow commented Jan 21, 2020

@Zingam it looks like your sourceDirectory setting is incorrectly configured. You're pointing to a file instead of a directory.

    "cmake.sourceDirectory": "${workspaceFolder}/CMakeProject01/CMakeLists.txt"

I think the extension could be more tolerant of this case. Can you open a bug to address it?

@bobbrow
Copy link
Member

bobbrow commented Jan 24, 2020

For those following, we just posted a pre-release of multi-root support here: https://github.com/microsoft/vscode-cmake-tools/releases/tag/1.3.0-beta

We would appreciate it if you would install it and provide feedback.

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants