Skip to content

Conversation

@ar1m4n
Copy link

@ar1m4n ar1m4n commented Aug 8, 2025

This change addresses item #[3799]

This changes visible behavior, documentation and configuration]

The following changes are proposed:

  • New config option "cmake.outlineViewType" that accepts one of 2 values - list or tree
  • If "cmake.outlineViewType" is set to "list", the Project Outline View will show all cmake targets in a "flat" view
  • If "cmake.outlineViewType" is set to "tree", the Project Outline View will show all cmake targets in a hierarchical view

The purpose of this change is to enable users to choose witch type of view to use. In my case, I find the "tree" view much more useful

Changes:

  • A ConfigurationReader argument is added to ProjectNode`s constructor
  • ProjectNodes::update uses the "cmake.outlineViewType" to produce a different output
  • An on change event handler is added to refresh the Outline View each time the value of the new config option is changed

@ar1m4n
Copy link
Author

ar1m4n commented Aug 8, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant