Skip to content

allow skipping projection regions in "Collapse/Expand all" actions - #4272

Open
danthe1st wants to merge 1 commit into
eclipse-platform:masterfrom
danthe1st:folding-skip-implicit-types
Open

allow skipping projection regions in "Collapse/Expand all" actions#4272
danthe1st wants to merge 1 commit into
eclipse-platform:masterfrom
danthe1st:folding-skip-implicit-types

Conversation

@danthe1st

@danthe1st danthe1st commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

This PR adds an API to allow for individual projection regions to mark themselves as not being included in the "Expand All"/"Collapse All" editor actions.

This would be used to allow skipping top level types in JDT's Java folding (eclipse-jdt/eclipse.jdt.ui#3126, see also the video in that description for how this is working).

Technically, only the includeInCollapseAll() method would be needed for this change but I think it is more consistent to have this for both operations.

I know that we currently have a code freeze and I'm submitting it with the intention of ideally getting this into the release afterwards (4.42).

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Test Results

   858 files  ± 0     858 suites  ±0   48m 4s ⏱️ -1s
 8 176 tests + 4   7 933 ✅ + 4  243 💤 ±0  0 ❌ ±0 
20 430 runs  +12  19 774 ✅ +12  656 💤 ±0  0 ❌ ±0 

Results for commit 8ead023. ± Comparison against base commit f08b692.

♻️ This comment has been updated with latest results.

@danthe1st
danthe1st force-pushed the folding-skip-implicit-types branch from 45a60a6 to 8ead023 Compare August 23, 2026 11:32
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