To be able to use plugin repositories other than the JetBrains Plugin Repository
(e.g., your enterprise plugin repositories),
you should specify the
URLs
of such repositories in IntelliJ IDEA.
- In the Settings dialog, click Plugins.
- Click Browse repositories.
- In the Browse Repositories dialog that opens, click Manage repositories.
- Use the Custom Plugin Repositories dialog that opens,
to manage the list of URLs for custom (enterprise) plugin repositories:
- To add a repository URL, click
(Alt+Insert).
In the Add Repository dialog,
specify the repository URL and click OK.
(You can use the Check Now button to make sure that the specified URL is correct:
IntelliJ IDEA will try to connect to the repository.) - To edit a repository URL, select the URL and
click
(Enter).
In the Edit Repository dialog, edit the URL and click OK. - To remove a URL from the list, select the URL and click
(Alt+Delete).
Click OK in the Custom Plugin Repositories dialog.
- To add a repository URL, click
- Click Close in the Browse Repositories dialog.
- Click OK in the Settings dialog.
As an alternative, you can specify the list of URLs for the enterprise plugin repositories in one of the following files:
idea.propertiesIn this case, the following line should be added to this file:
idea.plugin.hosts=[URL1];[URL2];...[URLn]product1.exe.vmoptionsIn this case, the following line should be added to this file:
-Didea.plugin.hosts=[URL1];[URL2];...[URLn]
Both files reside in the bin directory under the IntelliJ IDEA installation folder.
Note that a repository added via this property is not visible in the Manage Repositories dialog.