Groovy Eclipseã使ãéã«ãã£ã¦ãããæ¹ãããè¨å®
ãEclipseãããªãã¨ä½ã«ãæ¸ããªããããããªãã¨ãâªãä»æ¥ãã¾ã£ãã¼ãèããªããEclipseãéãã¦ããikikkoã§ããããã°ãã¯ãã¾ã£ãã¼ããã§ããããã¾ã£ãã¼ããã©ããããããªãåã«å¤©ä½¿ãéãã¦ãããã¨ãã好ãã§ãããã®æè©ãã
@Ryuzee @ikikko ã¤ã³ã¿ãã§ã¼ã¹ã§DIãããããã©ãã¯ã©ã¹ã®ããããããããªã
2009-12-06 14:36:57 via web to @ryuzee
ããjavaãªãã¦å«ããªãã¦è¨ããªãã絶対
- ã¢ã¼ãã£ã¹ã: æ§åæ¬ä¹
- åºç社/ã¡ã¼ã«ã¼: ãããªã¥ã¼ã¤ã¼ã¨ã¼ã»ã¸ã£ãã³
- çºå£²æ¥: 1992/05/25
- ã¡ãã£ã¢: CD
- ã¯ãªãã¯: 7å
- ãã®ååãå«ãããã° (26件) ãè¦ã
æ®æ®µã¯å¤§ä½Javaã¡ã¤ã³ã§å¤§ä½Eclipseä¸ã§ã³ã¼ãæ¸ãã¦ããã®ã§ãããã¡ããã¡ãããã£ã¦ããGroovyãEclipseä¸ã§è§¦ã£ã¦ãã¾ããã§ãEclipseã«ã¯Groovyãã©ã°ã¤ã³ã§ããGroovy - Eclipse Pluginãããã®ã§ãããããã¤ããã£ã¦ãããæ¹ãããè¨å®ãããã®ã§ãç°¡åã«ãç´¹ä»ãGroovy Eclipseã®ãã¼ã¸ã§ã³ã¯ã2.5.1ã§ãã
ãªãããã¾ãIDEã使ã£ããã¨ããªãï¼ãã ããããªã人ã¯ãGroovyãæ¸ããªãã°IntelliJ IDEAããªã¹ã¹ã¡ãã¾ãã
Groovy 1.8ãæå®ãã
- [Groovy > Compiler > Groovy Compiler settings]
ææ°å ¥ããããããã©ã«ãã§ãªã£ã¦ãããããããªããã°ãSNAPSHOTã®Update Siteããæã£ã¦ããå¿ è¦ãããã¾ãã詳ããã¯ãCompiler Switching within Groovy-Eclipse - Groovy - Codehausãåç §ãã¦ãã ããã
ã½ã¼ã¹ãã£ã¬ã¯ããªä»¥å¤ã®Groovyãã¡ã¤ã«ãã³ã³ãã¤ã«ãããªã
- [Groovy > Compiler > Groovy Script Folders]
ï¼ConfigSlurperç¨ã®è¨å®ãã¡ã¤ã«"config.groovy"ãªã©ã®ï¼.groovyãã¡ã¤ã«ãsrc/main/resources以ä¸ã«é ç½®ããå ´åã«ã¯ãããå¿ è¦ãè¨å®ãã¦ãããªãã¨ãåæã«ã³ã³ãã¤ã«ããã¦config.classã¨ãã¦æ±ããã¦ãã¾ã£ã¦ãClass#getResource('/config.groovy')ãè¦ã¤ãããã«å¤±æãã¾ãã
ConfigSlurperã«ã¤ãã¦ã¯ãGroovyのConfigSlurperがめっちゃ便利 - No Programming, No Lifeãåèã«ãªãã¾ãã
JUnitã®åºåãçå¹ ãã©ã³ãã«ãã
- [Groovy > Use monospace font for JUnit]
ï¼SpockãPower Assertãªã©ã®ï¼çå¹ ãã©ã³ãåæã®ãã°åºåãè¦ãããããããã«ãã¤ã¡ã¼ã¸ã¯ãããªæãã§ãã