LinuxCommandLibrary

idea

JetBrains Java and Kotlin IDE.

TLDR

Open the current directory in IntelliJ IDEA

$ idea [path/to/directory]
copy


Open a specific file or directory in IntelliJ IDEA
$ idea [path/to/file_or_directory]
copy


Open the diff viewer to compare up to 3 files
$ idea diff [path/to/file1] [path/to/file2]
copy


Open the merge dialog to perform a two-way file merge
$ idea merge [path/to/file1] [path/to/file2] [path/to/output]
copy


Run code inspections on a project
$ idea inspect [path/to/project_directory] [path/to/inspection_profile] [path/to/output]
copy

Copied to clipboard