6.6. Adding new options#
Defaults for options are made in BuildContext.py
.
This table will help you determine where you should add new options or where to move them when editing them.
Is context |
Available |
Has |
Has |
Has |
Where to add the option |
---|---|---|---|---|---|
No |
Yes |
* |
* |
* |
In |
Yes |
No |
No |
No |
Yes |
In |
Yes |
Yes |
Yes |
* |
* |
In |
Yes |
Yes |
No |
Yes |
No |
In |
Yes |
Yes |
No |
No |
Yes |
In |
Yes |
Yes |
No |
No |
No |
In |
* |
Yes |
Yes |
* |
* |
Specially treated synonims of other options. |
* Note that for "Has synonimic names" field, even if "No" is specified,
the option still may have synonimic name, if the synonim is specified in
options_converted_to_canonical
and is handles specifically.
Do not forget to regenerate zsh autocompletion script. For this, run gen_zsh_completions.py
script:
./scripts/gen_zsh_completions.py > data/completions/zsh/_kde-builder