First time here? Check out the FAQ!
0

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

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. (((

Mikhail Ninin Velikoselskiy's avatar
11
Mikhail Ninin Velikoselskiy
asked 2017-11-11 09:45:00 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2019-03-13 10:31:59 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2017-11-11 16:07:00 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Mikhail Ninin Velikoselskiy's avatar Mikhail Ninin Velikoselskiy (2017-11-12 05:29:00 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer