This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'd would find it useful to have an editor command to join (combine) two (or more) lines into one line, like the 'j' command in "vi". Join the current line with the line below it, or join the selected lines if more than one line is selected.
Could be useful. Maybe you could record a simple macro to do this.
It can be emulated by a macro. See http://forums.netbeans.org/topic4496.html <code> caret-end-line selection-down selection-first-non-white remove-selection </code?
Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost.
Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost. This time the target milestone is really set.
The macro from the forum doesn't really do the same as Ctrl + J in nearly all other programs out there. By pressing Ctrl + J only newlines are removed and they are removed from every line that is currently selected / or between the current caret line and the next line. Example (the pipe | represents the caret): foo| bar foobar -> becomes -> foo| bar foobar Example (the brackets [] represent the selection): [foo bar foobar] -> becomes -> [foo bar foobar]
*** Bug 180883 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Tested with NetBeans IDE Dev Build 201607070002. I don't think this enhancement suggestion has been addressed yet.