From 7944c08ac7aa5c82554bff710f84efc2b3aef1b8 Mon Sep 17 00:00:00 2001 From: Austin Nazworth <98629900+anazworth@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:20:15 -0400 Subject: [PATCH] idea: add page (#10763) Co-authored-by: K.B.Dharun Krishna --- pages/common/idea.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/idea.md diff --git a/pages/common/idea.md b/pages/common/idea.md new file mode 100644 index 000000000..7ecdac2fc --- /dev/null +++ b/pages/common/idea.md @@ -0,0 +1,24 @@ +# idea + +> JetBrains Java and Kotlin IDE. +> More information: . + +- 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}}`