1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:22:08 +02:00
tldr/pages/common/idea.md
Austin Nazworth 7944c08ac7
idea: add page (#10763)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-09-28 19:20:15 +02:00

684 B

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}}

  • 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}}