HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

idea — JetBrains Java and Kotlin IDE. More information: <https://www.jetbrains.com/help/idea/working-with-t

Submitted by: @import:tldr-pages··
0
Viewed 0 times
jetbrainsideaidecommandandclikotlinjava

Problem

How to use the idea command: JetBrains Java and Kotlin IDE. More information: <https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html>.

Solution

idea — JetBrains Java and Kotlin IDE. More information: <https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html>.

Open the current directory in IntelliJ IDEA:
idea {{path/to/directory}}


Open a specific file or directory in IntelliJ IDEA:
idea {{path/to/file_or_directory}}


Open the diff viewer to compare up to 3 files:
idea diff {{path/to/file1 path/to/file2 path/to/optional_file3}}


Open the merge dialog to perform a two-way file merge:
idea merge {{path/to/file1}} {{path/to/file2}} {{path/to/output}}


Run code inspections on a project:
idea inspect {{path/to/project_directory}} {{path/to/inspection_profile}} {{path/to/output}}

Code Snippets

Open the current directory in IntelliJ IDEA

idea {{path/to/directory}}

Open a specific file or directory in IntelliJ IDEA

idea {{path/to/file_or_directory}}

Open the diff viewer to compare up to 3 files

idea diff {{path/to/file1 path/to/file2 path/to/optional_file3}}

Open the merge dialog to perform a two-way file merge

idea merge {{path/to/file1}} {{path/to/file2}} {{path/to/output}}

Run code inspections on a project

idea inspect {{path/to/project_directory}} {{path/to/inspection_profile}} {{path/to/output}}

Context

tldr-pages: common/idea

Revisions (0)

No revisions yet.