Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's called <strong>rectangular selection</strong>.<br> It can be enabled by <kbd>Crtl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> </p> <p><a href="https://blogs.oracle.com/netbeansphp/entry/rectangular_selection">Screenshots for steps</a>:</p> <blockquote> <h1>Rectangular Selection</h1> <p>By Petr on Oct 20, 2011</p> <p>If you use development build, you probably noticed that NetBeans editor added <strong>Rectangular Selection</strong> action. I don't need this functionality every day, but it can be helpful in some case. One of such case is when you need to delete line numbers in a text or code copied from a tutorial. Like on the picture below.</p> <p><img src="https://i.stack.imgur.com/IhLoP.png" alt="sample code"></p> <p>You can select the rectangle after pressing Rectangular Selection toggle button in the editor toolbar or pressing <kbd>CTRL</kbd>+<kbd>SHIFT</kbd>+<kbd>R</kbd> shortcut. </p> <p><img src="https://i.stack.imgur.com/gKLSw.png" alt="Rectangular Selection toggle button "></p> <p>The selection can be easily done with mouse or keyboard. When you use keyboard, just place the caret on a corner, keep down <kbd>SHIFT</kbd> and with the arrows keys you select what you need. </p> <p><img src="https://i.stack.imgur.com/OPJYW.png" alt="keep down SHIFT and with the arrows keys you select what you need"></p> <p>When the selection is done, you can easily delete all the line numbers with pressing <kbd>DELETE</kbd> key. Then you have to exit from the rectangle selection mode (<kbd>CTRL</kbd>+<kbd>SHIFT</kbd>+<kbd>R</kbd> or toggle button in the editor toolbar).</p> <p>If you write a text , then the text is placed on every line in the selected area. This can be useful for example for changing access modifiers of more fields in a class at once. </p> <p><img src="https://i.stack.imgur.com/9wfTE.png" alt="If you write a text , then the text is placed on every line in the selected area"></p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload