Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chandrikadeb7/intellij-idea-tips-n-tricks


https://github.com/chandrikadeb7/intellij-idea-tips-n-tricks

intellij intellij-idea intellij-plugin java shortcuts spring tips-and-tricks

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# IntelliJ Idea Tips and Tricks for Java/Spring Microservices Handling

**Chandrika Deb**
*Software Engineer, Amdocs*

## Essential IDE Tips

|**:pushpin:**|**Options Β πŸ’‘**|**Description ♾️**| **Accessibility :link:**|
|-------|---------------|--------------------|---------------------|
|1 |Dependency| Add Maven/Gradle dependency on the go | Alt + Insert |
|2 |Gutter Icons| Navigation, Can be disabled | Settings -> Editor -> General -> Gutter Icons|
|3 |Settings| Project Settings | Shift + Shift |
|4 |Last Change| Recent edited locations/files | Ctrl + Shift + E |
|5 |Analyze Stacktrace| Copy from clipboard to get a formatted stacktrace | Analyze -> Stacktrace -> Auto detect -> Ok|
|6 |File Diff| Check file difference in split view | Ctrl + D|
|7 |Bookmark| Mark a file as bookmark | F11 |
|8 |Keymap Settings| Change shortcut settings to Eclipse! | Ctrl + (Backquote)|

## Navigation Shortcuts

|**:pushpin:**|**Options Β πŸ’‘**|**Description ♾️**| **Accessibility :link:**|
|-------|---------------|--------------------|---------------------|
|1 |Go To Test File| Directly go to same name test file or create one | Ctrl + Shift + T |
|2 |Code Samples| Find code templates | Settings -> Editor -> File and Code Templates -> Code Tab|
|3 |Recent Files| Open recently opened files | Ctrl + E |
|4 |Recent Locations| Recent edited locations | Ctrl + Shift + E |
|5 |Back to Editor| Return back to Code Editor| Escape|
|6 |VCS Quick Popup| Open VCS Window | Alt + (Backquote)|
|7 |Select in Current File| Select Window | Alt + F1 |
|8 |Go to Class| Find Classes | Ctrl + N|
|9 |Go To Files| Find Files | Ctrl + Shift + N |
|10 |Type Hierarchy| Show type hierarchy | Ctrl + H |
|11 |Call Hierarchy| Show function call hierarchy | Ctrl + Alt + H |
|12 |Diagram Popup| Show class methods dependency diagram popup | Ctrl + Alt + U |
|13 |Dependency Structure Matrix (DSM)| Analyze dependency between modules | Analyze -> Dependency Matrix|
|14 |Sysout| Print statement | sout + Tab |
||| Last Variable Printed | soutv + Tab |
||| Input Parameter Printed | soutp + Tab |
||| Classname/Method Printed | soutm + Tab |
|15 |Check Null| Check variable is null | varname.null + Tab |
|16 |Check Not Null| Check variable is NOT null | varname.notnull + Tab |
|17 |Show Usages| Show all usages of the variable or method | Ctrl + Left Click OR Ctrl + Alt + F7|
|18 |Quick Documentation| Show quick file contents without opening it | Ctrl + Shift + I |
|19 |Paste Options| Choose which copied statement to paste | Ctrl + Shift + V |
|20 |Extract| Method | Ctrl + Alt + M |
||| Variable | Ctrl + Alt + V |
||| Field | Ctrl + Alt + F |
||| Constant | Ctrl + Alt + C |
||| Param | Ctrl + Alt + P |
|21 |Nav Bar| Jump to navigation bar | Alt + Home |
|22 |Project Window | Open/Close Project Tool Window | Alt + 1 |
|23 |Git Changes Window | Open/Close Git Changes Tool Window | Alt + 9 |
|24 |Terminal Window | Open/Close Terminal Window | Alt + F12 |
|25 |File Structure | Open File Structure | Ctrl + F12 |
|26 |Documentation | Open Quick Documentation | Ctrl + Q |

## Useful Plugins

|**:pushpin:**|**Plugin Β πŸ’‘**|**Description ♾️**|
|-------|---------------|--------------------|
|1 |Key Promoter X | Learn/Add Shorcuts on the go |
|2 |.ignore| syntax highlight, user template, file generation, support for multiple |
|3 |Material UI Theme| Attractive IDE Themes |
|4 |Rainbow Brackets| Never miss a bracket in your code! |
|5 |Tabnine| Code completion mastery |
|6 |String Manipulation| Essential String manipulation shortcuts on the go! |
|7 |Edutools| Learn/Teach Code |