zoukankan      html  css  js  c++  java
  • eclipse提高效率 MAC


    1添加代码提示,在java contentaasist里面加所有字母
     
    2行注释,  块注释mac里是command ctrl加,鼠标行注释shift+
     
    3、快速添加注释doc command + option+j
     
    4.选择代码模板  command +option+z
     
    5 关闭所有编辑窗口 command +shift+w
     
     Option + Command + R:重命名(尤其是变量和类的Rename效果比较明显) 
     
    7  ctrl+q 快速回到上次编辑点 
     
    8  格式化代码 command+shift+f
     
    9 按照字母排序函数
     
    10 检查导入的包需不需要在source选项里
     
    11 重构方法参数  option + command + c     
     
    12 重构时把方法和变量Pull和push ,在refactor下拉菜单中选
     
    13 抽取接口,把一个方法抽取成接口,在refactor下拉菜单中选Extract Interface
  • 相关阅读:
    php的session和cookie
    CRUD
    hibernate关系映射
    hibernate hql
    String和StringBuffer的区别
    策略模式Strategy
    项目结构
    final关键字
    项目中的建议
    struts学习记录
  • 原文地址:https://www.cnblogs.com/liuying3013/p/3857551.html
Copyright © 2011-2022 走看看