你最喜欢的Eclipse热键是什么? [英] What is your favorite hot-key in Eclipse?

查看:129
本文介绍了你最喜欢的Eclipse热键是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去几年来,我一直在使用Visual Studio与Re-Sharper,最近在使用Eclipse的Java商店中进行了一次演示。 Googling for Eclipse热键已经返回了一大堆十大热门帖子,但这是关于它的。

I've been using Visual Studio with Re-Sharper for the past few years and have recently taken a gig at a Java shop where we use Eclipse. Googling for Eclipse hotkeys has returned a bunch of 'Top 10 Hot-Key' posts, but that's about it.

你最喜欢的热键是什么?哪些是必不可少的?

What are your favorite hotkeys? And which are essential?

推荐答案

这些是我在肌肉记忆下的文件。

These are the ones I file under "muscle memory."


  • Ctrl + Shift + O - 组织导入(删除未使用的导入,添加缺少的导入,排序导入)

  • Ctrl + Shift + I - 未收缩选择

  • Ctrl + / - 评论/ uncomment selected lines

  • Alt + Shift + R - 重命名选择

  • Ctrl+Shift+O - organise imports (removes unused imports, adds missing imports, sorts imports)
  • Ctrl+Shift+I - unindent selection
  • Ctrl+/ - comment/uncomment selected lines
  • Alt+Shift+R - rename selection

  • Ctrl + Shift + T - 在项目中为Java类输入时, / li>
  • Ctrl + Shift + R - 在项目中为所有资源输入时找到

  • Alt + Left - 通过编辑历史记录倒退

  • Alt + Right - 通过编辑历史记录向前推进

  • Ctrl+Shift+T - find as you type for Java classes in your projects
  • Ctrl+Shift+R - find as you type for all resources in your projects
  • Alt+Left - step backwards through editing history
  • Alt+Right - step forwards through editing history

  • Ctrl + F11 - 再次运行

  • F11 - 在调试模式下再次运行

  • Ctrl+F11 - run again
  • F11 - run again in debug mode

这篇关于你最喜欢的Eclipse热键是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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