To be able to use plugin repositories other than the JetBrains Plugin Repository
(e.g., your enterprise plugin repositories),
you should specify their
URLs
in IntelliJ IDEA.
Adding repositories
- In the left-hand pane of the Settings / Preferences dialog (⌘,⌘,⌘,⌥F7⌃⌥S), click Plugins.
- Click Browse repositories.
- In the Browse Repositories dialog, click Manage repositories.
-
In the Custom Plugin Repositories dialog,
click
and specify the repository URL.
Click Check Now to make sure that the URL is correct.
Alternatively,
you can add the repositories by editing the IntelliJ IDEA custom .properties, or
custom .vmoptions file:
- Open the file for editing: or .
-
Depending on the file, add the following line:
-
idea.plugin.hosts=<URL1>;<URL2>;...<URLn>for the.properiesfile. -
-Didea.plugin.hosts=<URL1>;<URL2>;...<URLn>for the.vmoptionsfile.
-
Replacing JetBrains repositories with your own ones
If you want to access your corporate plugin repositories instead of the JetBrains repositories from the IntelliJ IDEA UI:
-
Open the IntelliJ IDEA custom
.properties, or custom.vmoptionsfile for editing: or . -
Depending on the file, add the following line:
-
idea.plugins.host=<yourRepositoryURL>for the.properiesfile. -
-Didea.plugins.host=<yourRepositoryURL>for the.vmoptionsfile.
-
-
Make sure that there is no option that points to
http://plugins.jetbrains.comorhttps://plugins.jetbrains.com. - Restart IntelliJ IDEA.
As a result, the specified repository becomes your main plugin repository. You can now add repositories as described in Adding repositories.