IntelliJ IDEA: Difference between revisions
Jump to navigation
Jump to search
Line 75: | Line 75: | ||
==References== | ==References== | ||
* [https://www.jetbrains.com/help/rider/Adding_Deleting_and_Moving_Lines.html Add, Delete and Move Lines with IntelliJ IDEA] | * [https://www.jetbrains.com/help/rider/Adding_Deleting_and_Moving_Lines.html Add, Delete and Move Lines with IntelliJ IDEA] | ||
* [https://stackoverflow.com/questions/4475457/ Add all files to a commit except a single file] | |||
* [https://kotlinlang.org/docs/tutorials/getting-started.html Getting Started with IntelliJ IDEA] | * [https://kotlinlang.org/docs/tutorials/getting-started.html Getting Started with IntelliJ IDEA] | ||
* [https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html Getting Started with Eclipse IDE] | * [https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html Getting Started with Eclipse IDE] | ||
Line 80: | Line 81: | ||
* [https://stackoverflow.com/questions/21676150/setup-git-in-intellij-terminal Setup git in IntelliJ Terminal] | * [https://stackoverflow.com/questions/21676150/setup-git-in-intellij-terminal Setup git in IntelliJ Terminal] | ||
* [https://www.jetbrains.com/toolbox-app/faq/ JetBrains Toolbox App] | * [https://www.jetbrains.com/toolbox-app/faq/ JetBrains Toolbox App] | ||
* [https://docs.github.com/en/free-pro-team@latest/github/using-git/ignoring-files Ignoring Files] |
Revision as of 00:38, 8 January 2021
Shortcuts
─────────────────────────────────────────────── ⌘ + 1 » Project ⌘ + 2 » Favorites ⌘ + 3 » Find ⌘ + 4 » Run ⌘ + 5 » Debug ⌘ + 6 » Problems ⌘ + 7 » Structure ⌘ + 8 » Services ⌘ + 9 » Git |
─────────────────────────────────────────────── Shift + Shift » Navigate ⌘ + B » Navigate Usages ⌘ + E » Recent Files ⌘ + E » Toggle Changes Only Files ⌘ + Shift + F12 » Hide All Windows ⌘ + , » Preferences ⌘ + ; » Project Structures ⌘ + - » Folding Collapse ⌘ + + » Folding Expand |
─────────────────────────────────────────────── Control + N » New Class, Interface, Enum ⌘ + W » Extend Selection ⌘ + Option + V » Extract Variable ⌘ + Option + M » Extract Method ⌘ + Option + P » Extract Parameter ⌘ + Option + N » Inline Variable ⌘ + Shift + T » Navigate Go to Test ⌘ + F12 » Navigate File Structure ⌘ + D » Duplicate Line ⌘ + D » Git Difference ⌘ + Option + Z » Git Undo the Change |
─────────────────────────────────────────────── Control + Shift + F10 » Run Unit Test Control + V » VCS Operation ⌘ + X » Cut Line ⌘ + Shift + G » Go to Folder Ctrl + Shift + F » Find or Search Ctrl + Shift + Up » Line Move Up Ctrl + Shift + Down » Line Move Down |
Knowledge
ubuntu Ctrl + Alt + F5 » Switch Desktop to Terminal Crtl + Alt + F1 » Switch Terminal to Desktop sudo update-alternatives --config javac sudo update-alternatives --config java git config --global user.name "FULL NAME" git config --global user.email "[email protected]" assume unchanged git update-index --assume-unchanged src/main/resources/application.properties create and checkout a new branch git checkout -b new_branch_name discard changes git checkout master -f