Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the plugin be built with different defaulted preset settings? #423

Open
dlamblin opened this issue Oct 28, 2021 · 1 comment
Open

Can the plugin be built with different defaulted preset settings? #423

dlamblin opened this issue Oct 28, 2021 · 1 comment
Labels

Comments

@dlamblin
Copy link

It looks like settings will be stored in gerrit_settings.xml file.

@State(name = "GerritSettings", storages = @Storage("gerrit_settings.xml"))

However there is no default version of this file in the project, so I'm still browsing for where the defaults come from. Is it possible for a group to build their own version of this upstream plugin but bundle in a set of presets specific for that group?

@uwolfer
Copy link
Owner

uwolfer commented Oct 28, 2021

You are right, gerrit_settings.xml is in the bundle, it gets created at runtime based on https://github.com/uwolfer/gerrit-intellij-plugin/blob/intellij2016.2/src/main/java/com/urswolfer/intellij/plugin/gerrit/GerritSettings.java.

I'm not sure how to share plugins settings, but you could look into official IntelliJ functionality: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html

Please post here if you have success doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants