LinuxCommandLibrary

idea

command-line launcher for IntelliJ IDEA

TLDR

Open project

$ idea [project-directory]
copy
Open file
$ idea [file.java]
copy
Open at line
$ idea --line [42] [file.java]
copy
Compare files
$ idea diff [file1] [file2]
copy
Merge files
$ idea merge [local] [remote] [base] [output]
copy
Wait for IDE
$ idea --wait [file]
copy

SYNOPSIS

idea [options] [files]

DESCRIPTION

idea is the command-line launcher for IntelliJ IDEA. It opens files, projects, and invokes IDE features from the terminal.
The tool supports diff, merge, and project navigation. It integrates with git and other tools requiring an editor.

PARAMETERS

FILES

Files or projects to open.
--line NUM
Open at line number.
diff
Compare files.
merge
Three-way merge.
--wait
Wait for file close.
--help
Display help information.

CAVEATS

Requires IntelliJ IDEA installed. Path setup needed. Resource intensive.

HISTORY

idea is the CLI launcher for JetBrains IntelliJ IDEA, a popular Java IDE.

SEE ALSO

code(1), vim(1), eclipse(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community