Does IntelliJ IDEA support this feature?
Eclipse supports this with Ctrl + Shift + Del, vi with d$, so on...
One way to delete a line is to select the whole line and press N/A , but a more efficient way would be to press Ctrl+L when the cursor is anywhere in that line.
Delete the current line Press Ctrl+Y .
Ctrl + Shift + M will toggle you between the starting and closing parentheses.
Place the text cursor at the beginning of the line of text. On your keyboard, press and hold the left or right Shift key and then press the End key to highlight the entire line. Press the Delete key to delete the line of text.
In Settings
| Keymap
find the EditorDeleteToLineEnd action, right click, assign a shortcut that you want (make a copy of the keymap as you can't modify the default one):
Here for Mac users, to delete the current line in intellij :
source: https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With