Ask Your Question
0

Collapsing blocks of code while leaving empty lines visible (at least one of them)

asked 2017-11-11 09:45:00 -0600

updated 2019-03-13 10:31:59 -0600

When I collapse blocks of code empty lines between blocks are also become hidden which makes code badly readable. It would be better if at least one line (of more than one empty lines between blocks) stayed visible when blocks are collapsed. Is it possible to configure Wing IDE like that?so this: would collapse like this: instead of this: Because now Wing collapses every empty line no matter how many I insert. (((

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-11-11 16:07:00 -0600

Unchecking the Editor > Folding > Fold Trailing White Space preference will probably get you what you're looking for.  Before we had that option we had a lot of complaints in the other direction of not wanting the wasted space so the default is to also fold the white space.

edit flag offensive delete link more

Comments

Found it! Thank you.By the way, folded block has a black underline. Can I change its color?

Mikhail Ninin Velikoselskiy gravatar imageMikhail Ninin Velikoselskiy ( 2017-11-12 05:29:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-11 09:45:00 -0600

Seen: 217 times

Last updated: Nov 11 '17