IntelliJ Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
{{External|https://www.jetbrains.com/help/idea/working-with-projects.html}}
{{External|https://www.jetbrains.com/help/idea/working-with-projects.html}}


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.
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 [[#Module|modules]]. The project provides a mechanism to express dependencies between modules and stores modules' shared configuration.


=Module=
=Module=

Revision as of 19:16, 6 August 2020

External

Internal

Project

https://www.jetbrains.com/help/idea/working-with-projects.html

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

Grouping Modules

https://www.jetbrains.com/help/idea/creating-and-managing-modules.html#grouping-modules

.idea Directory

The .idea directory is used by IntelliJ to store project-related configuration metadata, and it is collocated with the project. It lives by default under the project's root. It contains the following file:

User-Specific Settings

workspace.xml

Stores user-specific settings.

tasks.xml

User Dictionaries

Maintained in .idea/dictionaries/username.xml.

shelf

datasources.xml

In IDEA 13 or earlier, datasources.xml contains user passwords.

libraries

All XML files under .idea/libraries will be generated by the Gradle or the Maven project.

gradle.xml

Gradle settings.

vcs.xml

What to Share in a SVC System

These are some recommendations on what to share and what not to share in a SVC system. The article applies to Git, but the rules are generally valid:

Git and IntelliJ IDEA

Debugging

Tutorial: Java Debugging Deep Dive

Suspending Only One Thread, and Not All

https://www.jetbrains.com/help/idea/using-breakpoints.html#suspend_policy

Right-click on the breakpoint → Suspend → Thread

Optional: Make Default.