-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 Try to be more clear on the customisation part
Change the way to customise the Preferences path
- Loading branch information
Showing
8 changed files
with
114 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Customise `bin` name | ||
|
||
This workflow is shipped with "default" `bin` name for the different product. But if you change this default `bin`name, you need to update the workflow configuration. | ||
|
||
### How-to | ||
|
||
1. Create a JSON file somewhere (in your home folder) | ||
2. This JSON file need to follow the same structure of the _[original configuration file](https://github.com/bchatard/alfred-jetbrains/blob/master/src/products.json)_ (same key). | ||
3. Open the workflow, and go to the workflow configuration window (the icon like this [x]) | ||
4. Add new environment variable: | ||
- name: `jb_product_customisation_file` | ||
- value: the path to your JSON file (relative to your home - ex: `/.config/alfred-jetbrains/custom.json`) | ||
|
||
Examples: | ||
|
||
- Change `bin` name for PhpStorm | ||
|
||
```json | ||
{ | ||
"PhpStorm": { | ||
"bin": ["pstorm"] | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Customise product Edition | ||
|
||
JetBrains deliver different edition for some products (actually PyCharm and IntelliJIdea). This workflow works with a default edition for this case: | ||
|
||
- for PyCharm, it's the Professional Edition | ||
- for IntelliJIdea, it's the Ultimate Edition | ||
|
||
If you work with a different edition you need to customise this workflow. | ||
|
||
### How-to | ||
|
||
1. Open the workflow, and go to the workflow configuration window (the icon like this [x]) | ||
2. Add new environment variable: | ||
- name: `jb_preferences_<product_key>` | ||
- value: the path to your JSON file (relative to your home - ex: `/.config/alfred-jetbrains/custom.json`) | ||
|
||
### Product keys | ||
|
||
- PyCharm: `pycharm` (so environment variable will be `jb_preferences_pycharm`) | ||
- IntelliJIdea: `intellijidea` (so environment variable will be `jb_preferences_intellijidea`) | ||
|
||
### Available _Preferences_ | ||
|
||
- PyCharm | ||
- `PyCharm` for PyCharm Professional (default) | ||
- `PyCharmCE` for PyCharm Community | ||
- `PyCharmEdu` for PyCharm Edu | ||
- IntelliJIdea | ||
- `IntelliJIdea` for IntelliJ Idea Ultimate Edition (default) | ||
- `IdeaIC` for IntelliJ Idea Community | ||
- `IdeaIE` for IntelliJ Idea Community Educational |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.