开发者

Alternative key combination for jumping to the end of a line to enter a semicolon

开发者 https://www.devze.com 2023-04-07 07:47 出处:网络
Due to automatic code completion, I regularly find myself in between parentheses, having to get to the end of a line to add the inevitable semicolon.

Due to automatic code completion, I regularly find myself in between parentheses, having to get to the end of a line to add the inevitable semicolon.

Then I have to get my right hand up, move it to the right, hit End, and c开发者_Python百科ome back to the main part of the keyboard again to enter the semicolon.

I perceive this as disturbing to my flow of typing, especially when writing on a notebook, as then those moves of my hand are very inefficient.

Is there already a key combination for reaching the end of a line, or adding a semicolon, within the main keyboard area? Or is it possible to configure PhpStorm in those regards?

(I'm using PhpStorm, but I added the IntelliJ IDEA tag to this question as I guess they would be similar regarding those basic features.)

Alternative key combination for jumping to the end of a line to enter a semicolon


More efficiently: invoke Edit | Complete Current Statement (Ctrl+Shift+Enter) to automatically insert semicolon at end of line and start new line.


You can assign any keyboard shortcut to the Move Caret to Line End action in Settings | Keymap.


You need to try touchcursor. I just love it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号