ã¢ãã³ãªIntelliJç°å¢ã®æ§ç¯æ¹æ³
çµæ§é£ããã®ã§ãè¨åºãã£ãºãæ¸ãã¦ã¿ãããä»ã®è¨å®ãã¹ãããã¨ãã®ããã¯ã¢ãããããã¦å¤§äºãªã¨ãã ãã¾ã¨ãã¦ãããã
ã¾ãã¯ãIntelliJãã¤ã³ã¹ãã¼ã«ãOSXç以å¤ã¯JREããã³ãã«ãã¦ãããã ããã©ãå®ã®ã¨ãããIntelliJåä½ã§ã¯Javaã®ã³ã³ãã¤ã«ã¯ã§ããªãããããã¯ãããã«æ
£ãã¦ããã®ã§ä½ã¨ãæããªãã£ããã ãã©ãCommunity Editionããå
¥ã£ã¦ãã人ãé©ãã¦ããã®ãã¿ã¦å¤ã ã£ã¦ã®ã«æ°ä»ããã:-)
ï¼JDKãç¡ãç´ ã®IntelliJã§åºæ¥ããã¨ã£ã¦ãHTML/CSS/JavaScriptã®ç·¨éããããï¼
ãããªããã§ãIntelliJ以å¤ã«å¿ è¦ãªãã¼ã«ã®é¡ã¯ä»¥ä¸ã®ã¨ãããå¿ è¦ã«å¿ãã¦ãããããåå¥ã«ã¤ã³ã¹ãã¼ã«ãã¦ããã¦ãã
- JDK
- APãµã¼ã
- Ant, Maven
- ãµãã¼ãã¯ãã¦ãããã©ããã¼ã«ãã®ãã®ã¯ãã³ãã«ãã¦ãªããä¸è¦ªåã¨è¨ãã°ä¸è¦ªåããã
- Antã¯Tool Windowsã®Antã§è¨å®ã
- Maven 㯠File -> Settings -> Project Settings -> Maven ã§è¨å®ï¼ç°å¢å¤æ°:M2_HOMEãããã°ããããåç §ãã¦ããã¯ãï¼ã
ãã¼ã¸ã§ã³ç®¡çã«ã¤ãã¦ã¯ãSubversionã®ã¿ãã®ã¾ã¾ä½¿ããï¼ãããSVNKitãå
èµãã¦ãã¯ãï¼ããã以å¤ã¯ãããããã¯ã©ã¤ã¢ã³ããè¦ãã
ããã§ä¸éã使ããããã«ãªããããã©ã®è¨å®å¤ããåã«ä¸è¨ã
JDKã®Javadocã®æ¥æ¬èªåã¯è«¦ãã¨ã
ä¸å¿ãこんなことæ¸ãããã©ãããã¸ã§ã¯ãã«ãã£ã¦æåã³ã¼ãå¤ãããã¨ãã¾ã¾ããããããã¾ãèºèµ·ã«ãªããªãã»ããè¯ãããã
çæ³ã¯ããIntelliJãJavadocã®æåã³ã¼ãã解éãã¦ãé©æå¤æãã¦ãããã°è¯ããã ãã©ãããã¾ã§æ°ãå©ããªããã£ã¦æ¹åè¦æåºãã°ããã®ããç¥ããªããã©ãè±èªããããªããã:-P
(追è¨)ä¿®æ£ä¾é ¼åºãããç´ãã¦ãããã¾ãããâ Javadocの文字化けが直った #intellij - marsのメモ
ã¡ãã£ã¨ã ã幸ãã«ãªããè¨å®ã«ã¤ãã¦
File -> Settings ã¾ããã§ãããã¤ããã¾ãã¯ãProject Settingsç³»ã
- Code Style -> Imports
- [99] Class count to use import with '*': import hoge.* ã«ããªã
- [1] Names count to use static import with '*': static import ã¯éæ»ã§ * ã使ã
ã¤ã¥ãã¦ãIDE Settingsç³»ã
- Editor
- [ON] Ensure blank line before end of file on Save: è¦ãã空ç½è¡ãä¿åæã«åé¤ããã
- [off] Allo placement of caret after end of line: ããªã¼ã«ã¼ã½ã«ãOFFã«ãã
- [ON] Highlight usages of element at caret: ã«ã¼ã½ã«ä½ç½®ã®è¦ç´ ã使ããã¦ããå ´æããã¤ã©ã¤ã表示ãã
- Editor -> Appearance
- [ON] Show line numbers: è¡çªå·ã表示ãã
- [ON] Show whitespaces: ã¿ããã¹ãã¼ã¹ã表示ãã
ãã¨ã¯ãã好ããªããã«ããã©ã°ã¤ã³ã好ããªã®ãã£ããå
¥ããã¨ã¤ã¤ã¨ã
ãã®å¾ã®é¸æè¢
IntelliJã«ã©ã£ã·ãä¾åããããã»ã©ã»ã©ã«ãããã§å°ã 使ãæ¹ãå¤ãããããã©ã£ã·ãã³ã¼ã¹ã ã£ãããGlobal Librariesï¼File -> Project Structureï¼ã«ã¬ã·ã¬ã·ãã©ã¤ãã©ãªãç»é²ãã¦ãIntelliJãããªããããã«ãåºæ¥ãªããç¶æ³ã楽ããããããIntelliJç¬èªã¢ããã¼ã·ã§ã³ä½¿ãã¾ããã楽ããã
ã»ã©ã»ã©ã³ã¼ã¹ã ã£ãããç©æ¥µçã«Mavenã使ã£ã¦ããã¸ã§ã¯ãã®æ§é ã使ç¨ããã©ã¤ãã©ãªã¯POMã«ã¾ã¨ãã¨ããã»ããããã
ã¡ãªã¿ã«IntelliJã©ã£ã·ãã³ã¼ã¹ã®å ´åããä¾ã«TeamCityãå ããã¨ã¡ãã£ã¨ããåªè¶æã«æµ¸ããããã便å©ã§ããã:-)