Top Banner
IntelliJ IDEA 13 @kojilin 2013/12/21@TWJUG
23

Idea13

May 26, 2015

Download

Technology

Koji Lin
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Idea13

IntelliJ IDEA 13@kojilin

2013/12/21@TWJUG

Page 2: Idea13
Page 3: Idea13

http://en.wikipedia.org/wiki/Czech_Republic

Page 4: Idea13

•A Java IDE by JetBrains •第一版在2001年發佈

Page 5: Idea13

•A Java IDE by JetBrains •第一版在2001年發佈

Page 6: Idea13

Intellij IDEA•Ultimate Edition •付費 •所有功能 •Personal License 變成訂閱模式 •Community Edition •免費 •開放原始碼

Page 7: Idea13

•Ultimate Edition •付費 •所有功能 •Personal License 變成訂閱模式 •Community Edition •免費 •開放原始碼

Intellij IDEA

Page 8: Idea13

Community Edition•少了以下功能 •Spring MVC, Webflow, Play, Grails... •HTML5, CSS3, SASS, LESS, JavaScript... •Database Tool, UML Designer •Java EE related code assistance and deployment

tools

•PHP, Python, Ruby...

Page 9: Idea13

個人喜歡的點•Completion 反應速度快和強力 •不用再多按一次熱鍵 •“部分變數名稱.部分方法名稱” 就提示: name.equals •Auto completion -> Smart type •部分輔助功能特別 •String <-> primitive return type 多了轉換 •Complete current statement

Page 10: Idea13

Lambda Support •Lambda Support from 12 EAP •Eclipse unofficial builds •NetBeans 7.4 RC1 •Completion -> Smart Type

Page 11: Idea13

Lambda Support •Lambda Style Code folding

Page 12: Idea13

Lambda Support •Lambda Style Code folding

Page 13: Idea13

其他•即時的程式碼檢查 •可以再搭配 FindBugs plugin •MoreUnit 功能 •多種語言支援 •Scala, Groovy, Dart, JavaScript, PHP, Python, Ruby... •Language injection

Page 14: Idea13

結論•不管哪種IDE,多數功能都類似 •差在Plugin 或是 預設 •Autocomplete 和 Refactoring 差異 •基本上都吃記憶體 •改進效能方式也差不多相同 •關掉不必要plugin •讀寫速度比較重要

Page 15: Idea13

但我好懷念 Eclipse 的

Page 16: Idea13

Ctrl + 1

Page 17: Idea13

Gradle•Autocomplete •但是只有dependency & plugin •Code generation •但是只有dependency & plugin •自動建立 web 應用程式需要的設定

Page 18: Idea13

Java EE•Using Gradle module •providedCompile ‘javax:javaee-api:7.0' •apply plugin 'war' •Demo

Page 19: Idea13

Spring•Spring tool window •內建的 module template 是用 maven •可以選擇用 gradle module 來做 •Demo

Page 20: Idea13

Web•Emmet Support •Find usage •JavaScript Autocomplete •JsDoc 連動 •Demo

Page 21: Idea13

Android•可以直接存取手機和模擬器的資料庫 •Lint inspection •其他請參考 Android Studio

Page 22: Idea13
Page 23: Idea13

Productivity Guide•顯示最常用的功能 •看看別人或自己是怎麼使用IDE的 •Navigation •Autocomplete •Refactor •Generate code