Getting started¶
IDEのインストール¶
- Eclipseの場合
- IntelliJの場合
- Lombok pluginをインストールする。
- Settings > Build, Excecution, Deployment > Compiler > Annotation Processor >
Enable Annotation Processing
をONにする。
- Settings > Build, Excecution, Deployment > Compiler > Annotation Processor >
- Eclipse Code Formatterをインストールする。
- Settings > Other Settings > Eclipse Code Formatter >
Use the Eclipse code formatter
をONにする。 Eclipse Java Formatter config file
にeclipse-formatter.xml
を指定する。
- Settings > Other Settings > Eclipse Code Formatter >
- bootRunを実行している場合でもビルドされるようにする。
- Intellij > Ctrl+Shift+A > type Registry... >
compiler.automake.allow.when.app.running
をONにする。
- Intellij > Ctrl+Shift+A > type Registry... >
- Windowsの場合は、コンソール出力が文字化けするため、
C:¥Program Files¥JetBrains¥IntelliJ Idea xx.x.x¥bin
の中にあるidea64.exe.vmoptions
ファイルに-Dfile.encoding=UTF-8
を追記する。
- Lombok pluginをインストールする。
- 共通
- ブラウザにLiveReload機能拡張をインストールする。
http://livereload.com/extensions/
から各ブラウザの機能拡張をダウンロードする。
- ブラウザにLiveReload機能拡張をインストールする。