IntelliJ Concepts: Difference between revisions
Line 41: | Line 41: | ||
==Project Settings== | ==Project Settings== | ||
==Global Settings== | ==Global Settings== | ||
=Debugging= | =Debugging= |
Revision as of 19:26, 6 August 2020
External
Internal
Project
A project is a directory that keeps everything that makes up the application. A typical project has a set of settings and one or several modules. The project provides a mechanism to express dependencies between modules and stores modules' shared configuration.
Module
A module is a logical group of source code and resources within a project.
The module has an .iml file that keeps the internal representation of the module settings. The module is also associated with a module content root directory, which stores the source code, tests and resources. The .iml file and the module content root are not tied, they can exists in different locations on the file system.
.iml File
The .iml file keeps the internal representation of the module settings.
Module Settings
Module settings apply only to one module and they are stored in the module's .iml file.
As part of its settings, a module can have an SDK and a language level that are different from those configured for the enclosing project. A module can also have its own libraries. A module can also carry a specific technology or framework.
TODO: https://www.jetbrains.com/help/idea/configure-modules.html
Grouping Modules
Settings
There are three type of settings in IntelliJ IDEA: module settings, project settings and global settings.
Project Settings
Global Settings
Debugging
Suspending Only One Thread, and Not All
Right-click on the breakpoint → Suspend → Thread
Optional: Make Default.