| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Eclipse

Page history last edited by Reder 10 years ago

shortcuts

command-shift-L     List all shortcuts  
command-J           Incremental Search  
command-E           Recend documents  
command-2           assign arguments  
command-3           quick show view
command-alt-q       show view
command-alt-w       related view
alt-up/down         move line up/down
command-alt-up/down copy line

Tips

  • regexp replacement: use () to wrap the finding regexp, and use $1 in replacement

http://www.javaworld.com.tw/roller/piaoyi/entry/eclipsesettingreference

  • 取消 eclipse 主控台(Console) 輸出的字數限制:[Windows]->[Preferences]->[Run/Debug]->[Console],取消選取[Limit console output]。
  • 修改 ${user} 值:修改 eclipse.ini,加入

    -Duser.name=my user name    
    
  • 修改操作介面語系:修改 eclipse.ini,加入

    -Duser.language=en
    
  • 更多設定:

    -Dfile.encoding=UTF-8
    -Xms512m
    -Xmx512m
    -XX:PerSize=128m
    -XX:MaxPermSize=512m
    
  • window -> new editor

  • change getter/setter to one line. find:

    (?m)((?:public |private |protected )?[\w$]+) (get|set)([\w$]+)\(([\w$]+ [\w$]+)?\) \{\s+(return [\w$]+;|this.[\w$]+ = [\w$]+;)\s+\}
    

replace by:

     $1 $2$3($4) { $5 }
  • check: http://stackoverflow.com/questions/54886/hidden-features-of-eclipse

FAQ

The Official Eclipse FAQs

Comments (0)

You don't have permission to comment on this page.