nirasan's tech blog

趣味や仕事の覚え書きです。Linux, Perl, PHP, Ruby, Javascript, Android, Cocos2d-x, Unity などに興味があります。

Eclipseの初期設定覚書

スペースが等幅じゃないので括弧とかがずれるの対応

http://kumagonjp2.blog.fc2.com/blog-entry-23.html を参考に

  • Window -> Preferences
  • General -> Appearance -> Colors and Fonts
  • Java -> Java Editor Text Font
  • Ubuntu Mono に変更

タブをスペースにする

http://d.hatena.ne.jp/bi_na/20100127/1264585042 を参考に

  • Window -> Preferences
  • Java -> Code Style -> Formatter
  • Edit をクリック
  • Indentation タブの Tag policy を Spcaes only に

補完ショートカットの変更

  • Window -> Preferences
  • General -> Keys
  • Content Assist を選択し Ctrl+/ に設定

補完を速くいつでも出るように

http://ser1zw.hatenablog.com/entry/20110130/1296393620 を参考に

  • Window -> Preferences
  • Java -> Editor -> Content Assist
  • Auto activation delay を 80 に
  • Auto activation triggers for Java を .,abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_ に