-
Notifications
You must be signed in to change notification settings - Fork 30
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
Automatically fold when finishing line/statement/expression (0.7.5) #39
Comments
Did it really collapse the code automatically? Can't recall this. |
@billybong I think this is out of scope for this project. The IntelliJ platform itself doesn't have this mechanism that you are requesting (automatical in-line folding, folding code automatically after pressing enter, etc...). Advanced Expression Folding seems to be about adding additional folding cases (folding getters and setters, folding first and last array indexes etc...) |
@billybong how do you force folding with short-key? I only know that I can close and reopen the file, it's a pain. |
@alexcohn there are no shortcuts here (but there should be). Your method is the fastest I think. Another method appears to Collapse All then to expand the code one level at a time (which can all be done via keyboard) |
Thanks, Collapse All + Expand All works. This is easier that close + reopen, and faster. |
Is there a way to automatically fold whenever I've typed something?
Currently in 0.7.5 my code only gets folded if I manually use the short-key or by reopening the file for editing by closing its tab and open again.
I remember how the SAM anonymous classes were automatically folded into lambdas just after writing them before lambas became available in Java 8.
The text was updated successfully, but these errors were encountered: