EDUCBA

EDUCBA

MENUMENU
  • Blog
  • Free Courses
  • All Courses
  • All in One Bundle
  • Login
Home Software Development Software Development Basics IntelliJ Cheat Sheet

IntelliJ Cheat Sheet

By Priya PedamkarPriya Pedamkar

IntelliJ Cheat Sheet

Introduction to IntelliJ Cheat Sheet

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.

IntelliJ

  • IntelliJ is also referred to as IntelliJ IDEA, and it is a Java integrated development environment (IDE). It is used for creating or developing software. JetBrains develop it. It is written in Java. It was initially released in the year 2001, but since 2010, it is also one of the top tools used for Java programming. It supports the operating systems that are windows, Mac OS, Linux.
  • IntelliJ IDEA has a lot of features like completion of code after analyzing the context, code navigation that allows shifting to class or directly declaration of code, code refactoring, and options to fix inconsistencies. It also provides integration with other tools like Gradle, grunt, etc., and version controls like GIT, SVN, etc. and databases like MSSQL server, MySQL and Oracle.

Commands and Content on IntelliJ Cheat Sheet

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.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

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

Free Tips and Tricks of using IntelliJ Cheat Sheet for commands

  1. IntelliJ IDEA comes with two very useful preconfigured quick-lists that are as below.
  • Refactor This (Ctrl + Alt + Shift + T on Windows/Linux and Ctrl + T on Mac OS)
  • VCS Operations (Alt+` on Windows/Linux and Ctrl + V on Mac OS).
  1. With the help of the IntelliJ idea, resize of tool windows can be done with the command Ctrl + shift + arrows on windows/ Linux and shift + cmd + arrows on Mac OS.
  2. The following command can be used ‘Win + up’ on windows and ‘Ctrl + cmd + =’ on Mac OS to maximize the window.
  3. The following command can be used ‘Ctrl + Alt + J’ on Windows or Linux and Cmd + ‘ on Mac OS to move to the next project window.
  4. In IntelliJ, there are many keyboard settings. Smart keys can be used to toggle automatic insertion of pair brackets, quotes, and curly braces and enable camel humps. Smart keys can be enabled through Settings -> Editor -> general -> Smart keys.
  5. There is one important thing make sure that chosen keymap does not conflict with OS. The following are the Ubuntu commands:
  • Shade Window, assigned to Ctrl + Alt + S, clashes with Settings
  • Lock Screen, assigned to Ctrl + Alt + L, clashes with Reformat Code
  • Launch Terminal, assigned to Ctrl + Alt + T, clashes with Surround With
  • Switch to Workspace, assigned to Ctrl + Alt + Arrows, clashes with in-IDE navigation
  • Move Window, assigned to Alt + F7, clashes with Find Usages
  • Resize Window, assigned to Alt + F8, clashes with Evaluate Expression
  • Virtual Consoles, assigned to Ctrl + Alt + F12, clashes with Commit

Conclusion

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.

Recommended Articles

This has been a guide to IntelliJ Cheat Sheet here; we have discussed the content and command as well as free tips and tricks of IntelliJ Cheat Sheet; you may also look at the following articles to learn more –

  1. Cheat sheet for C++ 
  2. Cheat sheet for UNIX
  3. Cheat sheet JQuery
  4. Cheat Sheet Python
MICROSOFT POWER BI Training
48+ Hours of HD Videos
8 Courses
Verifiable Certificate of Completion
Lifetime Access
4.5
CYBER SECURITY & ETHICAL HACKING Certification Course
89+ Hours of HD Videos
13 Courses
3 Mock Tests & Quizzes
Verifiable Certificate of Completion
Lifetime Access
4.5
MICROSOFT AZURE
97+ Hours of HD Videos
15 Courses
12 Mock Tests & Quizzes
Verifiable Certificate of Completion
Lifetime Access
4.5
KALI LINUX Certification Course
26+ Hours of HD Videos
6 Courses
Verifiable Certificate of Completion
Lifetime Access
4.5
Primary Sidebar
Popular Course in this category
INTELLIJ IDEA Course
 11+ Hours of HD Videos
4 Courses
6 Mock Tests & Quizzes
  Verifiable Certificate of Completion
  Lifetime Access
4.5
Price

View Course
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more