美文网首页
EclipseMAC快捷键使用

EclipseMAC快捷键使用

作者: Mr_董 | 来源:发表于2016-11-28 23:42 被阅读190次
  • D:字体大小及颜色
    • a:Java代码区域的字体大小和颜色:
      • window -- Preferences -- General -- Appearance -- Colors And Fonts --Java修改 -- Java Edit Text Font
    • b:控制台
      • window -- Preferences -- General -- Appearance -- Colors And Fonts -- Debug -- Console font
    • c:其他文件
      • window -- Preferences -- General -- Appearance -- Colors And Fonts -- Basic -- Text Font
  • E:窗体给弄乱了,怎么办?
    • window -- Reset Perspective
  • F:控制台找不到了,怎么办?
    • Window--Show View—Console

快捷键##

  • Alt + / 起到提示作用
  • A:新建 command + n
  • B:格式化 command+shift+f
  • C:导入包 command+shift+o
  • D:注释 command+/ conmmand + control + /多行注释。。conmmand + control + \取消注释
  • E:代码上下移动 选中代码alt+上/下箭头
  • F:查看源码 选中类名(F3或者command+鼠标点击)
  • G:查找具体的类 command + shift + t
  • H:查找具体类的具体方法 command + o
  • I:给建议 command+1, 根据右边生成左边的数据类型,生成方法
  • J:删除代码 command + d
  • command + alt + 上下键===复制一行
  • K:抽取方法alt + shift + m mac: alt + command + m
  • L:改名alt + shift + r mac: alt + command + r
  • 快速生成getter和setter方法:alt + command + s
  • commond + o 文件内查找
  • command + 1根据方法名生成对应的方法。
  • command + shift + t 跳转到对应的类,相当与 command + 点击
  • 抛异常:在报错上command + 1
  • 查找源代码类:command + shift + t
  • command + alt + r 修改多个相同的字符
  • alt + shift + z (try catch快捷键)选中一段代码,alt + shift + z
  • 增强for循环fore
  • alt + shift + r 修改文件名字
  • command + shift + t 查找系统的类
  • command + o 在类中查找方法
  • command + f 在类中查找关键字
  • command + d 删除整行


    Snip20170514_242.png

快捷方法##

  • command + alt + s
  • try catch


    Snip20170611_59.png
  • command + t
Snip20170815_111.png
  • alt + shift + s ------------ command + alt + s


    Snip20170816_159.png
  • command + shift + t 查找系统的类


    Snip20170830_2.png
  • command + T 快速打开子类


    Snip20171013_7.png
  • alt + shift + s 自动生成判别方法

屏幕快照 2017-10-14 下午5.43.37.png
  • command + alt + L(shift + alt + L)快速打开返回值类型

相关文章

网友评论

      本文标题:EclipseMAC快捷键使用

      本文链接:https://www.haomeiwen.com/subject/jdhapttx.html