Chris2011 commented on issue #6504:
URL: https://github.com/apache/netbeans/issues/6504#issuecomment-1742105010
The problem was there for years in other languages like JS and PHP which my
PR didn't add. This was unfortunately an added feature and never thought deeper
about this. I had this problem way often and this happens if you have if and
else for example as you can see in the example above. I don't like how NetBeans
fold this I also want to change this to let the brackets like in other
Editors/IDEs, than this will not happen again. This happens due to this:
```
if(true) {...3 lines} else {
}
```
it should do it like this:
```
if(true) {
... 3 lines
} else {
}
```
or
```
if(true) {... 3 lines
} else {
}
```
Luckily my PR makes this more obvious, because of more using Java instead of
JS.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists