Successfully reported this slideshow.
Your SlideShare is downloading. ×

IntelliJ IDEA - Gems you can find inside

Ad

Introduction
• This is an opinionated very short list of
features that I find useful or interesting
• Some of them were in...

Ad

How to learn about features in any app

Ad

How to learn about useful features?
• Find a list/cheatsheet with most important
shortcuts
– Keymap for Windows or go to t...

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Check these out next

1 of 29 Ad
1 of 29 Ad

IntelliJ IDEA - Gems you can find inside

Download to read offline

This is an opinionated very short list of features that I find useful or interesting in IntelliJ up to version 14.1.

This is an opinionated very short list of features that I find useful or interesting in IntelliJ up to version 14.1.

More Related Content

IntelliJ IDEA - Gems you can find inside

  1. 1. Introduction • This is an opinionated very short list of features that I find useful or interesting • Some of them were introduced recently hence I believe there is some chance that you don’t know all the stuff yet… • I was using Eclipse for many years and started to use IntelliJ IDEA two years ago… I’ve never really looked back :)
  2. 2. How to learn about features in any app
  3. 3. How to learn about useful features? • Find a list/cheatsheet with most important shortcuts – Keymap for Windows or go to the main menu and choose Help | Default Keymap Reference – Keyboard Shortcuts You Cannot Miss • Visit the product main page and features page • Use Tip of the Day
  4. 4. Even more for self learners • Quick Start Guide • Productivity Tips • What’s New • Key Promoter Plugin – Shows to user how easy he can make same action using only keyboard (menus and toolbar button mouse clicks initiate shortcut display) • Video Tutorials • JetBrains TV • Help > Productivity Guide
  5. 5. Find that command • Ctrl + Shift + A – Finds commands, settings – Shows you a keyboard shortcut too
  6. 6. Crafting the code
  7. 7. Smart Suggestions
  8. 8. Templates
  9. 9. Postfix Notation
  10. 10. Scratch files
  11. 11. Distraction Free Mode • No toolbars; no tool windows; no editor tabs; the code is center-aligned • To turn it on, click View → Enter Distraction Free Mode. • Similar to Presentation Mode – But better for coding • Available in 14.1
  12. 12. Refactoring
  13. 13. All Sorts Of Refactorings
  14. 14. Java 8 Inspections
  15. 15. Multiple Selections
  16. 16. Navigating in the code
  17. 17. Open File • Open Class via Ctrl+N • Open File via Ctrl+Shift+N • Open Symbol via Ctrl+Alt+Shift+N • Shift, Shift – Search everything – files, classes, symbols • Recently Opened Files via Ctrl+E • Recently Changed Files via Ctrl+Shift+E
  18. 18. Navigate • to line number via Ctrl+G • to Declaration via Ctrl+B • to super method via Ctrl+U • to implementation via Ctrl+Alt+B • to last edit location via Ctrl+Shift+Backspace • to the next error or warning via F2 • to a related unit test via via Ctrl+Shift+T
  19. 19. Code Analysis • Find Usage of the Members via Alt+F7 • Show Usages via Ctrl+Alt+F7
  20. 20. Running & Debugging
  21. 21. Inline Debugger
  22. 22. Chronon Debugger
  23. 23. Built-In Decompiler for Java
  24. 24. Tools & Misc.
  25. 25. Terminal / SSH Console • Terminal – Press Alt+F12 to view terminal window – You can change from cmd to cygwin/bash or Git Bash • SSH Console – Tools > Start SSH session..
  26. 26. Database Tools
  27. 27. External Tools • Go to Settings > External Tools, add a new tool • Open File in GVim (if IdeaVim is not enough) Program: c:Program Files (x86)Vimvim71gvim.exe Parameters: "+call cursor($LineNumber$,$ColumnNumber$)" "$FilePath$" Working directory: $FileDir$ • Open File in TotalCommander Program: c:Program Files (x86)totalcmdTOTALCMD.EXE Parameters: /T $FilePath$ Working directory: $FileDir$
  28. 28. Q&A ?

Editor's Notes

  • ANIMATION

    Smart type completion after new – Ctrl+Shift+Space

    Syntax aware selection - Ctrl+W (select word) in the editor selects a word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc.
  • ANIMATION
  • ANIMATION
  • ANIMATION
  • IntelliJ offers additional assistance, e.g. replacement of anonymous classes (or lambda expressions) with method references (and vice versa) and replacement of for loops with the new Stream API.

    http://blog.jetbrains.com/idea/2014/03/intellij-idea-13-1-rc2-ships-nearly-final-java-8-support/

  • ANIMATION

    Selection available from 14.1 - http://blog.jetbrains.com/idea/2015/02/multiple-selections-in-editor-using-mouse/

    In previous versions – multiple cursors:
    As of IntelliJ IDEA 13.1, if you need to edit a document in the same way in several places, you can save efforts by using multiple selections feature. All you need to do is create a caret at each location using Alt+Shift+Mouse Click and make your changes – they will be applied at all locations simultaneously.


  • Go to declaration - To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press Ctrl+B. You may also click the mouse on usages with the Control key pressed to jump to declarations.


  • I suggest to assign new shortcut for Show Usages – e.g. Alt+D
  • V 14
  • v13.1 - http://blog.jetbrains.com/idea/2014/03/try-chronon-debugger-with-intellij-idea-13-1-eap/
  • http://blog.jetbrains.com/idea/2014/07/intellij-idea-14-eap-138-1029-is-out/
  • https://www.jetbrains.com/idea/features/database_tools.html
  • ANIMATION

    https://www.jetbrains.com/idea/features/database_tools.html
  • Ever wanted to use Vim editing features while inside IntelliJ IDEA? Here is how to do it… You can even jump to the very same line you are on in IntelliJ.

    /T for TotalCommander is used to open new tab

×