development web with intellij idea 雷卷. 2 agenda editor actions javascript support html support...

10
Development Web With IntelliJ IDEA 雷雷

Upload: ami-bond

Post on 17-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

Development WebWith IntelliJ IDEA

雷卷

Page 2: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

2www.jetbrains.com/idea

Agenda

Editor ActionsJavaScript support HTML SupportCSS supportCode InspectionIntention Action

Page 3: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

3www.jetbrains.com/idea

Editor Actions• Ctrl+Space: Code Completion• Ctrl+Alt+T: Surround with • Ctrl+Shift+Delete: Remote Surround• Ctrl+B: Go to delaration• Ctrl+Shift+I: Show content• Ctrl+Q: Quick Document• Ctrl+/: Comment• Alt+Enter: Invoke Intention Action

Page 4: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

4www.jetbrains.com/idea

Navigation Actions• Ctrl+Shift+N: Open File• Ctrl+Shift+Alt+N: Open symbol

Page 5: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

5www.jetbrains.com/idea

JavaScript Support• JSDoc Full Support• YUI, JQuery, DOJO, ExtJS support• Javascript Debug• Refactor: rename, Move file, safe delete• JS Inspections

Page 6: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

6www.jetbrains.com/idea

JsDoc tags• @class and @construct• @extends Class_Name• @param {paramType} paramName

paramDescription• @Type Class_Name• @namepsace• @static

Page 7: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

7www.jetbrains.com/idea

HTML Support• Navigation with the active breadcrumbs

bar • HTML validation & quick-fixes• Show Applied Styles for Tag• Open in Browser command

Page 8: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

8www.jetbrains.com/idea

CSS Support• CSS code completion• Properties merge• Quick doc• On-the-fly validation & intention actions

Page 9: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

9www.jetbrains.com/idea

Velocity Support• Javascript, CSS, HTML Support• Java Support• Data Language and Template Language• Inspections and Intentions

Page 10: Development Web With IntelliJ IDEA 雷卷. 2  Agenda Editor Actions JavaScript support HTML Support CSS support Code Inspection Intention

10www.jetbrains.com/idea

Q&ALeijuan