11

How can I use multiple cursors in Netbeans?

I am watching HTML video series to help brushup on my HTML skills. I've just started using Zen Coding which is pretty awesome, but I can't find a way to use multiple cursors.

Erik A
  • 31,639
  • 12
  • 42
  • 67
Sam
  • 1,564
  • 4
  • 23
  • 37

4 Answers4

20

This feature was added in Netbeans 8.2.

From the Netbeans changelog:

Add cursor: Ctrl + Shift + Click

enter image description here

Erik A
  • 31,639
  • 12
  • 42
  • 67
Saljack
  • 2,072
  • 21
  • 24
  • Thanks for providing an answer to my really old question! I've long stopped using Netbeans, but I'm sure other people will find this useful. I've made your answer the accepted one. Cheers. – Sam Oct 06 '16 at 05:26
  • Is there any way that the multiple cursors could get disabled? I cannot find the hotkey in preferences and Ctrl Shift Click does a normal Shift select operation only. – Aj Otto Oct 14 '16 at 11:34
  • 1
    Thanks, is there some shortcut to customize this function? I've been years using **Ctrl+ Click** on Notepad++. – andreszs Apr 03 '18 at 01:00
5

In Netbeans 7.3.1 you can do rectangular select, which functions like multiple cursors as long as all the cursors are in one column.

To enable it, press Ctrl-Shift-R or click this button: enter image description here

Then you can drag a box or a column to select all of it. If you start typing, you'll have one cursor per row.

Wajih
  • 4,227
  • 2
  • 25
  • 40
Lea
  • 602
  • 9
  • 20
2

Not yet unfortunately (NB 8.0.2) but, good news! It has been requested here and it's being implemented. You can see the preview on an experimental build here

toraman
  • 598
  • 4
  • 14
  • 1
    Woah this question is 4 years old! These days I just prefer to use Vim. – Sam Jan 10 '16 at 07:31
  • There is an activity in the ticket https://netbeans.org/bugzilla/show_bug.cgi?id=200027 so I hope we will see the feature in a production version soon. Guys are doing a good job ;) – Tomor Mar 18 '16 at 13:20
1

Multicarets were introduced in Netbeans 8.2, see their website: http://wiki.netbeans.org/NewAndNoteworthyNB82#Editor_Multicarets

Kinifwyne
  • 190
  • 2
  • 6