patou / gitmoji-intellij-plugin

Intellij plugin for add a button on the commit dialog to add gitmoji
https://plugins.jetbrains.com/plugin/12383-gitmoji/
Apache License 2.0
62 stars 16 forks source link

Save properties as default #53

Open OlivierChirouze opened 9 months ago

OlivierChirouze commented 9 months ago

Hi and congrats for the plugin, I use it every day! One thing that bothers me though, is that for every new repo I work on, I have to re-check the

Use unicode emoji instead of text version (:code:) checkbox.

Wouldn't it be convenient that the settings are saved for the whole computer? Or that you can decide to make it the new default when you save the changes? I don't know anything about JetBrains plugins, maybe this is something complicated by design.

Thanks

patou commented 9 months ago

Hello Thanks,

I choose to add options on the project scope and not on the global scope. If I want to do this, I think I must create the two config page : Global, and project, and it will add complexity to the code.

And I thinks it's more important to have project config than global config for this.

OlivierChirouze commented 9 months ago

Thanks and sorry for the delay. I understand. If you would need to choose, for sure it's more flexible to have one per project than one single config.

Maybe you can consider having an extra option to "save as default" or "save for this computer". This way you don't need more configuration (but of course, this requires more code).

Something similar to what is proposed on some Rider settings:

image