eclipse常用快捷键

Eclipse常用快捷键

  1. 补全代码的声明:alt + /
  2. 快速修复: ctrl + 1
  3. 批量导包:ctrl + shift + o
  4. 使用单行注释:ctrl + /
  5. 使用多行注释: ctrl + shift + /
  6. 取消多行注释:ctrl + shift + \
  7. 复制指定行的代码:ctrl + alt + down 或 ctrl + alt + up
  8. 删除指定行的代码:ctrl + d
  9. 上下移动代码:alt + up 或 alt + down
  10. 切换到下一行代码空位:shift + enter
  11. 切换到上一行代码空位:ctrl + shift + enter
  12. 如何查看源码:ctrl + 选中指定的结构 或 ctrl + shift + t
  13. 退回到前一个编辑的页面:alt + left
  14. 进入到下一个编辑的页面(针对于上面那条来说的):alt + right
  15. 光标选中指定的类,查看继承树结构:ctrl + t
  16. 复制代码: ctrl + c
  17. 撤销: ctrl + z
  18. 反撤销: ctrl + y
  19. 剪切:ctrl + x
  20. 粘贴:ctrl + v
  21. 保存: ctrl + s
  22. 全选:ctrl + a
  23. 格式化代码: ctrl + shift + f
  24. 选中数行,整体往后移动:tab
  25. 选中数行,整体往前移动:shift + tab
  26. 在当前类中,显示类结构,并支持搜索指定的方法、属性等:ctrl + o
  27. 批量修改指定的变量名、方法名、类名等:alt + shift + r
  28. 选中的结构的大小写的切换:变成大写: ctrl + shift + x
  29. 选中的结构的大小写的切换:变成小写:ctrl + shift + y
  30. 调出生成getter/setter/构造器等结构: alt + shift + s
  31. 显示当前选择资源(工程 or 文件)的属性:alt + enter
  32. 快速查找:参照选中的Word快速定位到下一个 :ctrl + k
  33. 关闭当前窗口:ctrl + w
  34. 关闭所有的窗口:ctrl + shift + w
  35. 查看指定的结构使用过的地方:ctrl + alt + g
  36. 查找与替换:ctrl + f
  37. 最大化当前的View:ctrl + m
  38. 直接定位到当前行的首位:home
  39. 直接定位到当前行的末位:end
相关推荐
重生之我要进大厂7 分钟前
LeetCode 876
java·开发语言·数据结构·算法·leetcode
_祝你今天愉快10 分钟前
技术成神之路:设计模式(十四)享元模式
java·设计模式
小筱在线1 小时前
SpringCloud微服务实现服务熔断的实践指南
java·spring cloud·微服务
luoluoal1 小时前
java项目之基于Spring Boot智能无人仓库管理源码(springboot+vue)
java·vue.js·spring boot
ChinaRainbowSea1 小时前
十三,Spring Boot 中注入 Servlet,Filter,Listener
java·spring boot·spring·servlet·web
小游鱼KF1 小时前
Spring学习前置知识
java·学习·spring
扎克begod1 小时前
JAVA并发编程系列(9)CyclicBarrier循环屏障原理分析
java·开发语言·python
青灯文案11 小时前
SpringBoot 项目统一 API 响应结果封装示例
java·spring boot·后端
我就是程序猿1 小时前
tomcat的配置
java·tomcat
阳光阿盖尔1 小时前
EasyExcel的基本使用——Java导入Excel数据
java·开发语言·excel