Skip to content

Commit 77562dc

Browse files
author
bchatard
committed
1 parent 81274a3 commit 77562dc

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ npm install -g @bchatard/alfred-jetbrains
5151
- AndroidStudio: `studio`;
5252
- AppCode: `appcode` (sunset by JetBrains, no more support on my side too);
5353
- Aqua: `aqua`;
54-
- CLion: `clion`;
54+
- CLion/CLion Nova: `clion` (default to "Standard", see [customisation to change this](#customisation));
5555
- DataGrip: `datagrip`;
5656
- DataSpell: `dataspell`;
5757
- Fleet: `fleet`;
@@ -75,6 +75,7 @@ I test with these products/versions:
7575
- AppCode: since 2018.3;
7676
- Aqua: since 2023.1;
7777
- CLion: since 2018.3;
78+
- CLion Nova: since 2023.3;
7879
- DataGrip: since 2018.3;
7980
- DataSpell: since 2023.1;
8081
- Fleet: public preview;
@@ -88,11 +89,6 @@ I test with these products/versions:
8889
- WebStorm: since 2018.3;
8990
- Writerside: since 2023.2;
9091

91-
For other versions:
92-
93-
- Very old PhpStorm (and only PhpStorm), you can use my first workflow: [PhpStorm Alfred Workflow](https://github.com/bchatard/phpstorm-alfred-workflow)
94-
- Prior to 2019, you can use my previous workflow: [JetBrains Alfred Workflow](https://github.com/bchatard/jetbrains-alfred-workflow)
95-
9692
</details>
9793

9894
## Customisation

bin/alfred_jetbrains_cli

163 KB
Binary file not shown.

doc/customisation/edition.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Customise product Edition
22

3-
JetBrains deliver different edition for some products (actually PyCharm and IntelliJIdea). This workflow works with a default edition for this case:
3+
JetBrains deliver different edition for some products. This workflow works with a default edition for this case:
44

55
- for PyCharm, it's the Community Edition
66
- for IntelliJIdea, it's the Community Edition
7+
- for CLion, it's the "Standard"
78

89
If you work with a different edition you need to customise this workflow.
910

info.plist

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@
810810
<key>escaping</key>
811811
<integer>102</integer>
812812
<key>script</key>
813-
<string>./bin/alfred_jetbrains_cli open --product cLion --path "$1"</string>
813+
<string>./bin/alfred_jetbrains_cli open --product ${jb_clion_edition} --path "$1"</string>
814814
<key>scriptargtype</key>
815815
<integer>1</integer>
816816
<key>scriptfile</key>
@@ -1031,7 +1031,7 @@
10311031
<key>runningsubtext</key>
10321032
<string>searching project</string>
10331033
<key>script</key>
1034-
<string>./bin/alfred_jetbrains_cli search --product cLion</string>
1034+
<string>./bin/alfred_jetbrains_cli search --product ${jb_clion_edition}</string>
10351035
<key>scriptargtype</key>
10361036
<integer>1</integer>
10371037
<key>scriptfile</key>
@@ -2834,9 +2834,35 @@ It's my daily tool, so I will fix issue that I can reproduce with **my environme
28342834
<key>variable</key>
28352835
<string>jb_pycharm_edition</string>
28362836
</dict>
2837+
<dict>
2838+
<key>config</key>
2839+
<dict>
2840+
<key>default</key>
2841+
<string>cLion</string>
2842+
<key>pairs</key>
2843+
<array>
2844+
<array>
2845+
<string>Standard</string>
2846+
<string>cLion</string>
2847+
</array>
2848+
<array>
2849+
<string>Nova</string>
2850+
<string>cLionNova</string>
2851+
</array>
2852+
</array>
2853+
</dict>
2854+
<key>description</key>
2855+
<string></string>
2856+
<key>label</key>
2857+
<string>CLion Edition</string>
2858+
<key>type</key>
2859+
<string>popupbutton</string>
2860+
<key>variable</key>
2861+
<string>jb_clion_edition</string>
2862+
</dict>
28372863
</array>
28382864
<key>version</key>
2839-
<string>2.0.9</string>
2865+
<string>2.0.10</string>
28402866
<key>webaddress</key>
28412867
<string>https://github.com/bchatard/alfred-jetbrains/</string>
28422868
</dict>

0 commit comments

Comments
 (0)