How to select/copy current line without using mouse in IntelliJ IDEA

后端 未结 5 649
礼貌的吻别
礼貌的吻别 2020-12-29 19:59

To duplicate lines I use

Ctrl + D

Is there a similar way to select/copy current line using keyboard in IntelliJ IDEA?

5条回答
  •  不知归路
    2020-12-29 20:02

    If you go to the specific line rather at the start or positioned at a specific row and column you can use the CTRL + W to select portions of the text depending on its complexity and language.

    If you are at the start of the line and you want to select the entire text it's going to require to use CTRL + W 2 times, firstly it's going to select the first character and then the entire row till the end.

提交回复
热议问题