Eclipse中选择单词的快捷键
有没有可以选择单词的键盘快捷键?或者可以如何分配?
Is there any keyboard shortcut to select a word? Or may be it can be assigned some how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有没有可以选择单词的键盘快捷键?或者可以如何分配?
Is there any keyboard shortcut to select a word? Or may be it can be assigned some how?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
Shift + Alt + ↑ 选择封闭元素。
Shift + Alt + ↓ 反转 Shift + Alt + ↑< /kbd>。
Shift + Alt + ← 选择在文件中向上移动的封闭元素。
Shift + Alt + → 选择在文件中向下移动的封闭元素。
Shift + Alt + ↑ selects enclosing elements.
Shift + Alt + ↓ reverses Shift + Alt + ↑.
Shift + Alt + ← selects enclosing elements moving up the file.
Shift + Alt + → selects enclosing elements moving down the file.
在 Eclipse 中查找任何键盘快捷键的最快方法是使用 Help->Key Assist(或 Ctrl + Shift + L),其中会弹出一个漂亮的工具提示,其中包含键盘快捷键及其作用。 (如果您按两次“按键辅助”快捷键,您将进入“按键首选项”页面,该页面允许您重新分配快捷键。)
如果您的光标紧邻“m”左侧(我用竖线(|)表示这一点) ) :
Shift + Alt + →(选择下一个元素)将选择 'myFancyString'
Shift + Alt + ←(选择上一个元素)也会选择“myFancyString”
Ctrl + Shift + →(选择下一个单词)会选择“myFancyString” ',重复它会选择“myFancy”,然后选择“myFancyString”
The quickest way to find any keyboard shortcut in Eclipse is to use Help->Key Assist (or Ctrl + Shift + L), which will pop up a nice tooltip with keyboard shortcuts and what they do. (If you press he Key Assist shortcut twice, you'll get the Keys Preferences page, which allows you to reassign shortcuts.)
If your cursor is immediately to the left of 'm' (I am indicating this with a pipe (|)) :
Shift + Alt + → (Select Next Element) would select 'myFancyString'
Shift + Alt + ← (Select Previous Element) would also select 'myFancyString'
Ctrl + Shift + → (Select Next Word) would select 'my', repeating it would select 'myFancy', followed by 'myFancyString '
Shift + Alt + → 选择光标周围的单词
Shift + Alt + → selects the word surrounding the cursor
要进行选择,您可以使用 Shift + Alt + 任意箭头键。
To select, you can use Shift + Alt + any arrow key.