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

[#305] limit TU children/symbols to be added #324

Merged
merged 2 commits into from
May 25, 2024

Conversation

ghentschke
Copy link
Contributor

...to prevent a longer UI freeze. More children can be shown in navigator Treeview in Project Explorer via 'Show next x items from remaining y'. The limit will be taken from the 'Initial maximum number of elements shown in views' in the General preference page.

fixes #305

...to prevent a longer UI freeze. More children can be shown in
navigator Treeview in Project Explorer via 'Show next x items from
remaining y'. The limit will be taken from the 'Initial maximum number
of elements shown in views' in the General preference page.

fixes eclipse-cdt#305
Reasons:
- since more than 100 items cannot be displayed in an average monitor,
we'll limit it here. 100 symbols deliver an acceptable UI response.
- WorkbenchPlugin.getDefault() is not public API
Copy link
Member

@ruspl-afed ruspl-afed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Configurable limit can be provided later

@ghentschke ghentschke merged commit 2041bad into eclipse-cdt:master May 25, 2024
3 checks passed
@ghentschke ghentschke deleted the fix-children-freeze branch May 27, 2024 08:46
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.

Expanding the children of a translation unit in project explorer locks/freezes UI
2 participants