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

Project Outline update #3695

Merged
merged 11 commits into from
Apr 17, 2024
Merged

Conversation

gcampbell-msft
Copy link
Collaborator

This change addresses item #3684 #491

The purpose of this change

This change modifies the Project Outline view to mirror what happens in Visual Studio, which shows a flat list of targets for each project.

In this first edition of improving the Project Outline view, we only show non-generated targets and/or files. Additionally, we support the FOLDER property to group targets.

We also slightly modified how items are viewed respective to what type of targets they are.

For example, here is Bullet3 before and after.
Before:
image

After:
image

Another example from the getting started guide from Azure RTOS:
Before:
image

After:
image

moyo1997
moyo1997 previously approved these changes Apr 16, 2024
@gcampbell-msft gcampbell-msft merged commit 6b6c07b into main Apr 17, 2024
4 checks passed
@gcampbell-msft gcampbell-msft deleted the dev/gcampbell/ProjectOutlineRefactor branch April 17, 2024 12:59
@spoyler
Copy link

spoyler commented May 30, 2024

Hello. Is there any a settings to return outline view to how it was before?

@sinemakinci1
Copy link
Contributor

@spoyler Hi, I opened an issue #3799 to track this request. For us to better understand your problem, why exactly would you like the prior view? Are there things you preferred about its organization of targets?

@spoyler
Copy link

spoyler commented May 31, 2024

@sinemakinci1 Hi, Thanks for the answer.
When a project has many nested targets, then it is easier to navigate by its and the organization of the project looks similar to the arrangement of directories. With a flat list of goals, navigating the project becomes more difficult.

@invy
Copy link

invy commented Jun 3, 2024

@sinemakinci1 CMake implies directory structure by "add_subdirectory". Also every library can have many "utility" targets, which are very seldom of interest. So basically, older view provides 'more natural filtering' based on the directory structure.
So, please add option to return the old outline view.

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.

5 participants