Skip to content

Commit f6fa9ba

Browse files
authored
Merge pull request #90 from Shuyinsama/add_intellij_idea_commands
Added workflows for IntelliJ Idea command line
2 parents 00b4bd4 + 7af3a06 commit f6fa9ba

3 files changed

Lines changed: 45 additions & 0 deletions
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Compare two file in IntelliJ Idea
3+
command: "idea diff {{file1}} {{file2}}"
4+
tags: ["idea"]
5+
description: Compare two files using IntelliJ Idea
6+
arguments:
7+
- name: file1
8+
description: The first file that you want to compare.
9+
default_value: ~
10+
- name: file2
11+
description: The second file that you want to compare.
12+
default_value: ~
13+
source_url: "https://www.jetbrains.com/help/idea/command-line-differences-viewer.html"
14+
author: Patrick van Zadel
15+
author_url: "https://github.com/Shuyinsama"
16+
shells: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Open a file on a specific line in IntelliJ Idea
3+
command: "idea --line {{line_number}} {{file}}"
4+
tags: ["idea"]
5+
description: Use the command line to open a file on a specific line in IntelliJ Idea.
6+
arguments:
7+
- name: line_number
8+
description: The line number you want the file to open two
9+
default_value: 1
10+
- name: file
11+
description: The file that you want to open.
12+
default_value: ~
13+
source_url: "https://www.jetbrains.com/help/idea/opening-files-from-command-line.html"
14+
author: Patrick van Zadel
15+
author_url: "https://github.com/Shuyinsama"
16+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Open a file or directory in a IntelliJ Idea editor
3+
command: "idea {{file_or_directory}}"
4+
tags: ["idea"]
5+
description: Use the command line to open a file in IntelliJ Idea.
6+
arguments:
7+
- name: file_or_directory
8+
description: The file or directory that you want to open.
9+
default_value: ~
10+
source_url: "https://www.jetbrains.com/help/idea/opening-files-from-command-line.html"
11+
author: Patrick van Zadel
12+
author_url: "https://github.com/Shuyinsama"
13+
shells: []

0 commit comments

Comments
 (0)