Notepad++ - Code Folding do not show last line

2

How can I configure Notepad++ to see last line of code fold block.

example:

<form id="myForm" action="login.asp">
    /*100 input tags*/
</form>

I would like to see the initial and final line to assure that the block is correct, final line too:

<form id="myForm" action="login.asp">
</form>

By default Notepad++ only show the initial line:

<form id="myForm" action="login.asp">

Jabi

Posted 2018-01-29T08:38:41.840

Reputation: 21

I'm afraid you can't do that, in Npp the folding allways hide the last line. – Toto – 2018-01-29T11:13:32.833

I would be amazed if you can do this :( You may have more luck if you use regions but that may mean updating the HTML – Dave – 2018-01-29T11:28:11.733

A pity that can not be seen. It would be very useful, at least for the distrustful ones with oneself like me. If I do not see the last line I did not trust that I did it right :-) – Jabi – 2018-02-12T12:20:22.547

What I started doing to circumvent this is to add a comment line <!-- End of <\form> --> after closing tag. This way, when I fold the tag, I can know that it actually folded at the right location. – Cricrazy – 2019-03-29T15:32:45.010

Answers

0

Here is a workaround to this which works fairly well.

Add a comment line <!-- End of <\form> --> after closing tag. This way, when you fold the tag, you can know that it actually folded at the right location. Here is a gif for it. Hope it helps.

enter image description here

Cricrazy

Posted 2018-01-29T08:38:41.840

Reputation: 826