Built for your comfort, it unlocks productivity, ensures quality code, supports cutting-edge tech, and protects your privacy.
This page will help you on your way to becoming an IntelliJ IDEA expert, so settle in and get ready to learn!
Create a project in just a few clicks while IntelliJ IDEA guides you through the process. All the developer tools you need are already there and ready to use. You don’t even need to download the JDK yourself – IntelliJ IDEA will do it for you!
In addition to Java and Kotlin code, the IDE supports leading frameworks and technologies, such as Spring, Hibernate, JPA, and others.
IntelliJ IDEA is also perfect for web development, supporting a wide range of JavaScript and related technologies, such as TypeScript, React, Vue, Angular, Node.js, HTML, and CSS.
To run your application, click on the green ▶ icon in the sidebar. Alternatively, you can use a predefined shortcut: ⌃R
(macOS) or Shift+F10
(Windows/Linux).
Run
⌃R
Shift+F10
Run the current file
⌃⇧R
Ctrl+Shift+F10
Display a list of run configurations
⌃⌥R
Alt+Shift+F10
Open the Run Anything dialog
⌃⌃
Ctrl+Ctrl
Terminate a running process
⌘F2
Ctrl+F2
IntelliJ IDEA comes with one of the most powerful code editors in the industry.
IntelliJ IDEA’s editor is context-aware and automatically provides the best possible code options as you type.
Simply pick the one that fits your needs from the popup list and keep on coding.
The IDE can also provide AI-powered suggestions for entire lines of code, based on the context you’re working in. To accept the suggestion, press ⇥
(macOS) or Tab
(Windows/ Linux).
⌥↩
(macOS) or Alt+Enter
(Windows/Linux) shortcut calls a list of context-sensitive fixes and suggestions, and in just a few clicks, you get a refined code without breaking the workflow.
IntelliJ IDEA provides full support for code snippets from different languages within your main code. In most cases, the language injection applies automatically, but you can also call it manually by pressing ⌥↩
(macOS) or Alt+Enter
(Windows/Linux), selecting Inject language or reference, and choosing your desired language from the list.
With thorough project scanning, IntelliJ IDEA ensures quick, reliable, and safe refactorings to your existing code.
Just press ⌃T
(macOS) or Ctrl+Alt+Shift+T
(Windows/Linux), to see a list of refactoring actions.
Safe Delete
⌘⌫
Alt+Delete
Rename
⇧F6
Shift+F6
Copy/Move
F5/F6
F5/F6
Refactor This
⌃T
Ctrl+Alt+Shift+T
With live templates, you can insert complete code blocks in a couple of keystrokes. This function is perfect for loops, conditions, declarations, or print statements
You can check a list of available live templates by pressing ⌘J
(macOS) or Tab
(Windows/Linux) right in the editor.
st
String
psfs
public static final String
main or psvm
public static void main(String[] args){
}
sout
System.out.println();
soutv
System.out.println("$EXPR_COPY$ = " + $EXPR$);
iter
for ($ELEMENT_TYPE$ $VAR$ : $ITERABLE_TYPE$) {
$END$
}
ifn
if (var == null) {
}
The IntelliJ IDEA's debugger is a powerful tool that can reveal what's happening under the hood of your program and help you detect bugs.
To start debugging, set a breakpoint and click on the bug icon in the upper-right Run/Debug panel or press ⌃D
(macOS) or Shift+F9
(Windows/Linux). The IDE will then show the results in a dedicated tool window. Here, you can inspect the values of variables and objects, as well as the call stack.
Breakpoints let you stop the execution of the program so you can examine it in a specific state or scenario. Set a breakpoint on the line where you want the execution to stop by clicking the gutter next to that line. Alternatively, use the shortcut ⌘F8
(macOS) or Ctrl+F8
(Windows/Linux).
You can right-click the breakpoint and set its advanced conditions. To view all breakpoints and their settings click on More, ⌘⇧F8
(macOS) or Ctrl+Shift+F8
(Windows/Linux). Here you can remove, enable/disable, group breakpoints, and much more.
While you examine the state of your application, you can step through your code, evaluate expressions, see and change variable values, and add watches and labels. IntelliJ IDEA provides a lot of stepping options: from basic – Step Over, Step Into, or Step Out to advanced – Force Return, Throw Exception.
Debug an application
⌃D
Shift+F9
Toggle a breakpoint
⌘F8
Ctrl+F8
Step Into while debugging
F7
F7
Step Over while debugging
F8
F8
Evaluate expression
⌥F8
Alt+F8
Resume program
⌥⌘R
F9
The profiler helps you identify CPU- and memory-intensive sections, threading issues, and suboptimal code. The results can be analyzed and compared in graphical and hierarchical charts.
To start profiling, click on the ▶ icon in the sidebar next to the code and select Profile with IntelliJ Profiler. Profiling data will be displayed in the dedicated Profiler tool window.
Live data helps to visualize resource consumption, identify resource-related bottlenecks, and understand how certain events affect the performance.
Analyze CPU and memory usage over a specific period of time with various easy-to-read charts: Flame Graph, Call Tree, Method List, Timeline, and Events.
What’s more, IntelliJ IDEA displays in-editor hints as a quick, convenient way to analyze code performance line by line. You no longer need to leave your code to view profiling data!
Run queries, connect to databases, browse and export data, and even manage your schemas – all without leaving IntelliJ IDEA.
Connect to a database through the Database tool window (View | Tool Windows | Database) by clicking on ➕ and following the simple setup steps.
Now you can freely navigate through the data, sort it, edit cell values, and push changes to live databases – all without writing a single SQL query…
…But you can still write SQL queries if you want! Just click on Jump to Query Console in the Database tool window. Run queries by clicking on the ▶ icon.
You can use charts to visualize SQL query results in the data editor. Choose from plenty of chart types, like bar, pie, area, line, and many more.
Create, edit, and execute HTTP, gRPC, GraphQL, and WebSocket requests without leaving the IDE.
To access the HTTP Client from the source code, click on the 🌐 icon next to the URL and select Generate request in HTTP Client.
Once you’ve opened the HTTP Client, go to Tools | HTTP Client | Create Request. If a request file is opened in the editor, this will add a request template to the opened file. Otherwise, this will create a new .http
scratch file.
To execute a request, click the ▶ button next to the request in the gutter. If you have multiple HTTP requests defined in an .http
file, you can run all of them sequentially. To do this, click Run all HTTP requests on the top of the request's editor panel.
IntelliJ IDEA’s AI Assistant provides AI-powered features to further boost your productivity and code quality. Now you can delegate repetitive tasks to AI!
AI Assistant will not be active unless you install the plugin and acquire a JetBrains AI Service license.
To start a chat, click on the Galaxy icon in the Tools panel and start typing your query. You can ask AI Assistant any development-related questions!
To invoke the in-editor AI Actions list, select the code block on which you’d like to perform an action and select AI Actions from the floating toolbar.
AI Assistant provides a detailed explanation for the selected code fragment. It can also explain injected fragments, like RegEx and SQL queries.
AI Assistant offers ideas on how to improve your code. You can review and accept suggestions in the Diff viewer.
To quickly generate a piece of code, select the option from the AI Actions menu, write your prompt in the input field, and press ↩/Enter
.
AI Assistant swiftly autocompletes single lines or even blocks of code, aligning it with the project's context, style, and naming conventions.
AI Assistant generates clear and comprehensive documentation for your code. Type /**
, press ↩/Enter
, and click Generate with AI Assistant.
AI Assistant has even more features to boost your productivity! It can generate tests, commit messages, and convert files to another language.
Make IntelliJ IDEA to become a productivity powerhouse with a plethora of customization options from font size to themes to plugins and beyond!
By default, IntelliJ IDEA’s editor uses a Dark theme with a randomly assigned color for the header for your project. You can change the theme to Light and High Contrast via Preferences/Settings | Appearance & Behavior | Appearance. To change the color of the header – right-click the header and choose an option from the context menu.
You’ll find thousands of functionality-expanding IDE plugins on JetBrains Marketplace (Preferences/Settings | Plugins) – from interface enhancements, themes to frameworks, and even fun plugins like a project name generator inspired by mythical creatures and Swedish furniture names. Go and check them out for yourself!
The IDE provides accessibility features (Preferences/Settings | Appearance & Behavior | Appearance) to ensure that any developer can use the IDE to its full potential. These include the ability to zoom in up to 200%, customizable font sizes, a built-in high-contrast theme, color adjustment for red-green color vision deficiency, and many more.
IntelliJ IDEA has so much to offer for maximizing productivity and simplifying the coding process.
It’s nearly impossible to fit everything on one page, but there are plenty of resources available to help you dive deeper into the IDE’s functionality:
This page and resources make a perfect combo to master IntelliJ IDEA and enhance your coding experience.