Skip to content

Commit

Permalink
update CLI to 0.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
bchatard committed Nov 17, 2023
1 parent 81274a3 commit 77562dc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $ npm install -g @bchatard/alfred-jetbrains
- AndroidStudio: `studio`;
- AppCode: `appcode` (sunset by JetBrains, no more support on my side too);
- Aqua: `aqua`;
- CLion: `clion`;
- CLion/CLion Nova: `clion` (default to "Standard", see [customisation to change this](#customisation));
- DataGrip: `datagrip`;
- DataSpell: `dataspell`;
- Fleet: `fleet`;
Expand All @@ -75,6 +75,7 @@ I test with these products/versions:
- AppCode: since 2018.3;
- Aqua: since 2023.1;
- CLion: since 2018.3;
- CLion Nova: since 2023.3;
- DataGrip: since 2018.3;
- DataSpell: since 2023.1;
- Fleet: public preview;
Expand All @@ -88,11 +89,6 @@ I test with these products/versions:
- WebStorm: since 2018.3;
- Writerside: since 2023.2;

For other versions:

- Very old PhpStorm (and only PhpStorm), you can use my first workflow: [PhpStorm Alfred Workflow](https://github.com/bchatard/phpstorm-alfred-workflow)
- Prior to 2019, you can use my previous workflow: [JetBrains Alfred Workflow](https://github.com/bchatard/jetbrains-alfred-workflow)

</details>

## Customisation
Expand Down
Binary file modified bin/alfred_jetbrains_cli
Binary file not shown.
3 changes: 2 additions & 1 deletion doc/customisation/edition.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Customise product Edition

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

- for PyCharm, it's the Community Edition
- for IntelliJIdea, it's the Community Edition
- for CLion, it's the "Standard"

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

Expand Down
32 changes: 29 additions & 3 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>./bin/alfred_jetbrains_cli open --product cLion --path "$1"</string>
<string>./bin/alfred_jetbrains_cli open --product ${jb_clion_edition} --path "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -1031,7 +1031,7 @@
<key>runningsubtext</key>
<string>searching project</string>
<key>script</key>
<string>./bin/alfred_jetbrains_cli search --product cLion</string>
<string>./bin/alfred_jetbrains_cli search --product ${jb_clion_edition}</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -2834,9 +2834,35 @@ It's my daily tool, so I will fix issue that I can reproduce with **my environme
<key>variable</key>
<string>jb_pycharm_edition</string>
</dict>
<dict>
<key>config</key>
<dict>
<key>default</key>
<string>cLion</string>
<key>pairs</key>
<array>
<array>
<string>Standard</string>
<string>cLion</string>
</array>
<array>
<string>Nova</string>
<string>cLionNova</string>
</array>
</array>
</dict>
<key>description</key>
<string></string>
<key>label</key>
<string>CLion Edition</string>
<key>type</key>
<string>popupbutton</string>
<key>variable</key>
<string>jb_clion_edition</string>
</dict>
</array>
<key>version</key>
<string>2.0.9</string>
<string>2.0.10</string>
<key>webaddress</key>
<string>https://github.com/bchatard/alfred-jetbrains/</string>
</dict>
Expand Down

0 comments on commit 77562dc

Please sign in to comment.