Chrome Extensions ã®éçºç°å¢ãTipsã«ã¤ãã¦æ¸ãã¦ã¿ã
ãã®ã¨ã³ããªã®ç®ç
Chrome Extensionsã®æ¦è¦ã¯ç¥ã£ã¦ãã人åãã«éçºå¹çãä¸ããããã«Tipsãç´¹ä»ãã¾ããChrome Extensionsã®Hello world ã¬ãã«ã¯ä½ã£ããã¨ããã人åãã§ããä¸è¨ã¯ãèªåãä½ãéã«åèã«ãã¦ããè¨äºã«ãªãã¾ããä½ããããã¨ã®ãªãæ¹ãããããã¡ãã£ã¨ä½ã£ã¦ã¿ããã¨æã£ã¦ããããã¯ãä¸è¨ã®è¨äºãèªã¾ãã¦ãããããããªã¨æãã¾ãã
éçºç°å¢ã«ã¤ãã¦
Eclipse(Javaã®éçºãã¼ã«)ã«Aptana JS ã¨ãã£ã¿ã¼ãå ¥ãã¦ä½¿ã£ã¦ãã¾ããä¸è¨ã®ãµã¤ããããã¦ã³ãã¼ãå¯è½ã§ãã
http://mergedoc.sourceforge.jp/
Eclipseã¯ãããã©ã«ãã®è¨å®ã ã¨è±èªãªã®ã§ããã便å©ãªãã¼ã«ãã»ããã«ãããã¤ãæ¥æ¬èªåãã¦é å¸ãã¦ãããã¬ã¢ãã¹ãå°å ¥ãç°¡æã§ãããã
ããã§ã¯ãAptanaãå梱ãã¦ãããEclipse 3.4 Gyameda Plelades All in Oneãã®ãRubyãorãPythonãããå§ããã¾ãã
JREä»ãããæ軽ã§ãã
ãã®Aptana Jsã¨ãã£ã¿ã¼ã¯ä¸è¨ã®ãããªæ©è½ãæã£ã¦ãã¾ãã
Aptana:ã¯ã©ã¹æ§é ã綺éºã«è¡¨ç¤º
Eclipseæ¨æº:è¤éãªæ§é ã¯è¡¨ç¤ºä¸è½
Aptana:èªåã§ä½ã£ãã¡ã½ãããã°ã£ã¡ãå
¥åè£å®
Eclipseæ¨æº:å
¥åè£å®ã¯ã»ã¨ãã©NG
å
¥åè£å®ãããã¨ãä½æ¥ã¯ç¸å½æ¥½ã«ãªãã¨æãã¾ãã®ã§ãã²ä½¿ç¨ãæ¤è¨ããã¦ã¯ãããã§ããããï¼ããã©ã«ãã§ä»ã®ã¨ãã£ã¿ã¼ã§éããã¦ãã¾ãå ´åã¯ä¸è¨ã®ããã«é¸æãã¦éãã°OKã§ãã
大ç©ãä½ããªãå ´åããããªå¤§æãããªãã®ã¯ã¨ãã£ã¿ã¯ãããªãããããã¾ããããã¯ã©ã¹çãå®ç¾©ãè¤éãªãã®ãä½ãå ´åã«ã¯ããããã§ããã¨ãã£ã¿ã¼ã§ãã
ãããã±ã¼ã¸åããã¦ããªãæ¡å¼µæ©è½ãèªã¿è¾¼ã¿ã¾ããã§ãã¼ã
ä¸è¨ã®æé ã§ããã±ã¼ã¸åãããªãã¦ããéçºä¸ã®ã¨ã¯ã¹ãã³ã·ã§ã³ããã¼ããããã¨ãã§ãã¾ãã
ç§ã¯æåç¥ããããã¡ãã¡ããã±ã¼ã¸ããä¸ã§ãã¼ããã¦ããã®ã§ãéçºã大å¤ã§ããã»ã»ã»
æ¡å¼µæ©è½ã®ãã¼ã¸ããããããã±ã¼ã¸åããã¦ããªãæ¡å¼µæ©è½ãèªã¿è¾¼ã¿ã¾ãããé¸æãã
Eclipseä¸ã®ãã©ã«ããæå®ãã¦
ãã¼ãã§ãã¾ããããã¡ãã¡ããã±ã¼ã¸ã³ã°ããªãã¦ãåä½ç¢ºèªã§ãã¾ãã
Chromeã§ãããã¯
Chromeã¯ãéçºãå©ãã便å©ãªæ©è½ãããããæã£ã¦ãã¾ãããã®ä¸ã¤ã«JavaScriptã®ãããã«ãããã¾ãã
ä¸è¨ã®è¦é ã§ãã£ããããã¼ãã¼ã«ãèµ·åãã¦
Scriptsã®ã¿ããããã¬ã¼ã¯ãã¤ã³ãã®ä½¿ç¨ãå¤æ°ã®ç¶æ
確èªãå¯è½ã§ãã
ãã®ä»ã«ããconsole.log()ã§åºåããã¡ãã»ã¼ã¸ã®ç¢ºèªããã¼ã«ã«ã¹ãã¬ã¼ã¸ã®å
容確èªãç·¨éã¨ãã£ã便å©ãªæ©è½ãããã¾ãã
ã¾ã¨ã
JavaScripterã®æ¹ã¯ãç§ä¸¸çã®ã·ã³ãã«ãªã¨ãã£ã¿ã¼ã§ä½æ¥ããããã¨ãå¤ããã¨ã¯æãã¾ãããããããã¼ã«ããã¾ã使ããã¨ã«ããéçºå¹çãä¸ãããã¨æããç§ã®éçºç°å¢ã®ä¾ããããã¦ã¿ã¾ãããChromeã®ã¨ã¯ã¹ãã³ã·ã§ã³ãèªåã§ãããã¨çµæ§ã§ãããã¨ãåºããã¾ãã®ã§ããããæ©ã«ãã²ãã£ã¬ã³ã¸ããã¦ã¯ãããã§ããããï¼