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

Improve multi-root CMake detection #4112

Open
gcampbell-msft opened this issue Oct 8, 2024 · 0 comments
Open

Improve multi-root CMake detection #4112

gcampbell-msft opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: multiroot
Milestone

Comments

@gcampbell-msft
Copy link
Collaborator

gcampbell-msft commented Oct 8, 2024

Brief Issue Summary

Related open issues: #2338, #1069.
Related closed issues: #3278, #3170.

Scenario

In a multi-root workspace, people are hitting issues where, when some of the roots are CMake, and some are not, the CMake extension is attempting to activate and do work for all of the roots, despite some not being CMake.

This includes attempting to add the root to the Testing support, attempting to configure intellisense for it, etc.

Possible Solutions

We believe the best way to solve this is to fix the design around how we detect and integrate with multi-root support. We should better detect at a root level whether each folder is itself a CMake project and then handle that accordingly for the various things that we provide with the extension (i.e. Test integration, configuring, etc.)

We want to be able to correctly detect this so that we can ensure that the CMake Tools extension is inactive for folders that aren't CMake projects.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

@github-actions github-actions bot added the triage label Oct 8, 2024
@gcampbell-msft gcampbell-msft added this to the On Deck milestone Oct 8, 2024
@gcampbell-msft gcampbell-msft added enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: multiroot and removed triage labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: multiroot
Projects
Status: Pending Prioritization
Development

No branches or pull requests

1 participant