Top Banner

Click here to load reader

of 22

General introduction to intellij idea

Nov 12, 2014

Download

Documents

Yusup Ashrap

 
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
  • 1. General Introduction to IntelliJ IDEA Yusup Ashrap www.jetbrains.com
  • 2. Agenda1. What is Intellij IDEA 2. Why Intellij IDEA 3. JRebel & LiveEdit Plugin4. Performance Tips5. Miscellaneous www.jetbrains.com 2
  • 3. 1.1 What is Intellij Idea www.jetbrains.com 3
  • 4. LiveEdit Demo www.jetbrains.com 4
  • 5. 1.2 What is Intellij IDEA Ultimate version VS Community version Open source since 2009 Intellij Platform www.jetbrains.com 5
  • 6. 1.3 What is Intellij IDEA Basic Walkthorough appearance settings project settings, plugins tweaks www.jetbrains.com 6
  • 7. 2.1 Why Intellij IDEA ? Fast Different inspections for the same file run in parallel on multiple cores Different occurrences of target identifier are checked in parallel Indices for everything literally www.jetbrains.com 7
  • 8. 2.2.1 Why IDEA ? Editor I Smart Code Completion Control + N source code scope , test code scope Control + Space Control + Space , Space Control + Shift + Space Template completion , Command + J Selection & Copy: Command + W Command + Shift + W Copy/Cut Line Command + C, Command + X Command + Shift + V clipboard history www.jetbrains.com 8
  • 9. 2.2.2 Why IDEA ? Editor II Local History Compare with Clipboard Fast Coding with Live templates user defined code templates template files Inject Language anywhere www.jetbrains.com 9
  • 10. 2.3.1 Why IDEA ? Navigation I Quick, handy navigation features go to class, command + N go to file, command + shift + N go to variable, command + shift + alt + N todo navigation , todo view jump to navigation bar quick documentation lookup Control + J Basic Search Find in editor ,command + f find in path , command + shift + f structural search,command+ shift + s www.jetbrains.com 10
  • 11. 2.3.2 Why IDEA ? Navigation II Tool Window Manipulation command + shift + up/down size last active tool windows hide active window shift + Esc Back to editor Esc Search command + f , f3 / shift f3 next previous find in path , command + shift + f View recent changes option + shift + c View File Path command + alt + f12 www.jetbrains.com 11
  • 12. 2.3.4 Why IDEA ? Navigation III Structural navigation Popup show structure ,Command + F12 Inspect method, Command + Shfit + I Back to editor ,Shift + Esc Bookmarks bookmark line F11 bookmarks browser Shift + F11 Structural Search,Command + Shift +S www.jetbrains.com 12
  • 13. 2.4 Why IDEA? Refactoring Refactoring www.jetbrains.com 13
  • 14. 2.5.1 Why IDEA ? VCSBuiltin VCS(Version Control System)Support cvs,subversion,git.Github Integeration create gists directly www.jetbrains.com 14
  • 15. 2.5.2 Why IDEA ? Frameworks Maven 1.enable auto import 2. pom.xml: autocompletion everywhere add new control + n refactoring 3.add maven repository from source 4.dependency diagram , search from diagram www.jetbrains.com 15
  • 16. 2.5.3 Why IDEA ? FrameworksHibernate,Spring,JPA.. seamless inter framework integration seamless database access integration www.jetbrains.com 16
  • 17. 2.5.4 Why IDEA ? Static Analysis Data Flow Stacktrace Analysis Duplicate Code Analysis www.jetbrains.com 17
  • 18. JRebel Plugin demo in intellij idea www.jetbrains.com 18
  • 19. Performance Tips IO Bounded, better drives rather than better cpus Higher xmx would help a lot Turn off antivirus scanning for workspace directory Disable Unused Plugins Exclude unused folders Avoid large unversioned files www.jetbrains.com 19
  • 20. Misc Report a problem Plugin Development Jetbrains TV Productivity Tips Keymap Reference Web Help www.jetbrains.com 20
  • 21. Thank You. www.jetbrains.com 21
  • 22. Quiz Quiz A Quiz B Quiz C www.jetbrains.com 22