用于跳到行尾以输入分号的替代键组合 [英] Alternative key combination for jumping to the end of a line to enter a semicolon

查看:87
本文介绍了用于跳到行尾以输入分号的替代键组合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于自动完成代码,我经常发现自己在括号之间,不得不到行尾添加不可避免的分号.

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.

然后我必须举起右手,将其向右移动,按 End ,然后再次回到键盘的主要部分以输入分号.

Then I have to get my right hand up, move it to the right, hit End, and come 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.

在主键盘区域中是否已经存在用于到达行尾或添加分号的组合键?还是可以在这些方面配置PhpStorm?

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?

(我使用的是PhpStorm,但是我向这个问题添加了IntelliJ IDEA标签,因为我猜想它们在那些基本功能上会很相似.)

(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.)

推荐答案

您可以将任意键盘快捷方式分配给>中的将插入符号移动到行尾操作. Keymap.

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

这篇关于用于跳到行尾以输入分号的替代键组合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆