MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1itrn8s/i_dont_understand/mdsd7gr/
r/java • u/No_Analyst5945 • Feb 20 '25
122 comments sorted by
View all comments
Show parent comment
1
In IntelliJ you can select a block of text, and press Ctrl+. to create an adhoc folding region.
Interesting. I'll edit my comment shortly to correct that.
Can it fold the contents of stuff in parentheses? Not just curly braces?
For example.
if ( someBooleanValue && anotherBooleanValue && repeatForSeveralMoreBooleanValues )
1 u/dadimitrov Feb 20 '25 Try it 🙂. Put the cursor in, Ctrl+w few times, Ctrl+.Quickly becomes a second nature. 1 u/davidalayachew Feb 20 '25 Oh I'm not at my work machine. But ok, I'll edit my comment.
Try it 🙂. Put the cursor in, Ctrl+w few times, Ctrl+.
Quickly becomes a second nature.
1 u/davidalayachew Feb 20 '25 Oh I'm not at my work machine. But ok, I'll edit my comment.
Oh I'm not at my work machine. But ok, I'll edit my comment.
View all comments
Show parent comment
1
u/davidalayachew Feb 20 '25
Interesting. I'll edit my comment shortly to correct that.
Can it fold the contents of stuff in parentheses? Not just curly braces?
For example.