Store custom plugin repository with git


You can configure a custom plugin repository in Intellij via 'File/Settings/Plugins/Manage Plugin Repositories'.

We would like to store this configuration together in the current project root via git eg in the <projectroot>/.idea/... folder. Is there a way to do that?


Hello T Zillinger

Could you please clarify - do you want to find a configuration file that is responsible for "Custom Plugin Repository" and move it to the .idea folder so you could commit it and push in order to share it with the project? If so, unfortunately, it is not possible since it's a per-instance setting, not project and such configuration cannot be shared.


That's unfortunate, since there seems to be a way currently to have use the ./idea/external_dependencies.xml to configure plugins that need to be installed, eg:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalDependencies">
<plugin id="CheckStyle-IDEA" />
<plugin id="" />
<plugin id="org.mule.tooling.intellij.raml" />
<plugin id="org.sonarlint.idea" />
it would be nice to provide the possiblity to also configure an external plugin repository together with a custom made plugin here or somewhere else, which can be checked into some VCS.
This way the whole process would be fully automatic when opening a project for the first time

Currently there is always a manual step involved to provide this external repo via gui in intellij.


I'm afraid it is not possible at the moment (unless you write a custom plugin), but the idea is good and reasonable, so we will most likely create a new feature request for this in our tracker once we've confirmed all the details with the responsible developers.

I will let you know when we do. Thanks for bringing this up.


T Zillinger

I created a new feature request on our issue tracker to add native ability to store custom plugin repositories in configuration files: IDEA-250234.

Feel free to vote for it.


Please sign in to leave a comment.