IntelliJ cheat sheet support various programming languages like Java, CloudSlang, Clojure, Dart, Erlang, Go, Groovy, JavaScript, PHP, Ruby or JRuby, TypeScript, HTML, Perl, Haxe, Rust, Scala, XML/JSL, Kotlin, Haskell, Lua, Julia, and Python. It supports the platforms and technologies like Android, Junit, Maven, TestNG, Django, EJB, Grails, JSF, JSP, Node.js, Play, struts, web services, Hibernate, and ruby on rails, etc.
ADVERTISEMENT Popular Course in this category INTELLIJ IDEA - Learning Path | 4 Course Series | 6 Mock TestsStart Your Free Software Development Course
Web development, programming languages, Software testing & others
The IntelliJ cheat sheet has an extensive library, scalable, extendable, and interactive and contains many inbuilt methods to compute common operations. There are different commands available to perform basic selection, code completion and refactoring commands.
Below is the IntelliJ Cheat sheet for commands mentioned which perform different kinds of operations:
Command | Description |
Ctrl + / | This command is used to Comment Line |
Ctrl + Shift + / | It is used to Comment Block |
Ctrl + D | It is to Duplicate Line |
Alt + Shift + Down/Up | To Move line |
Ctrl + Alt + Shift + Down/Up | To Move the Whole statement |
Ctrl + – | It is to Collapse block |
Ctrl + + | It is used to Expand block |
Ctrl + Shift + +/- | When we need to Collapse/ Expand the whole file |
Ctrl + A | Need to Select Whole life |
Ctrl + W | When to Extend the selection to the next block |
Ctrl + Shift + W | It is used to Shrinks selection |
Alt + J | When to Select next occurrence |
Alt + Shift + J | When to Deselect next occurrence |
Ctrl + shift + F7 | Helps in Highlight all usages in file |
Ctrl +Alt + Shift + J | It is to Select all occurrence in the file |
Ctrl + Space | Suggest |
Ctrl + Space X2 | Getting the Deeper level suggestion |
Ctrl + shift + space | It helps in getting the List of matching suggestion |
Ctrl + shift + space x2 | A suggestion in return statement |
Ctrl + Shift + enter | Complete statement |
Shift + F6 | Rename |
Ctrl + Alt + V | Extract variable or field |
Ctrl + Alt + M | Encapsulate code in a new method |
Ctrl + Alt + C | Extract selected expression in a context |
Ctrl + Alt + P | Extract selected expression in a parameter |
Ctrl + Alt + T | Surround selected code |
There are some other commands available on code assistance and navigation; please find below:
Command | DESCRIPTION |
Ctrl + P | It is used to see the method signature |
Ctrl + J | It is used to insert a live template |
Ctrl + Q | It is to see the method documentation |
Ctrl + Alt + L | Used to Reformat code |
Ctrl + shift + i | It is to see the definition |
F2 | It helps in finding the next highlighted error in a file |
Ctrl + F1 | It is used to see the description error |
Alt + Enter | It provides a suggested solution |
Ctrl + N | When it is required to search class |
Ctrl + Shift +N | It is used to search file |
F4 | It helps in Jump to source |
Ctrl + B | Jump to declaration |
Ctrl + Alt + B | Jump to implementation |
Ctrl + F12 | It is used to see a file structure |
The IntelliJ cheat sheet is getting popular among developers nowadays for working on javascript, and Json, and other Java programming or scripting languages. It is mostly simple, easy, and flexible with all the platforms. It helps in running, debugging, compiling, and testing the applications. It is used to deploy the application, analyze the application, view the structure and hierarchy of source code, module dependencies, and work with artefacts and use file watchers. This is mainly compatible with almost all the tools, framework, version control, and technologies, because of which it is the first choice nowadays to work with for any developer.
The above is the detailed content of IntelliJ Cheat Sheet. For more information, please follow other related articles on the PHP Chinese website!