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 PyCharm.
- 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: PyCharm 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.properties
In this case, the following line should be added to this file:
idea.plugin.hosts=[URL1];[URL2];...[URLn]
product1.exe.vmoptions
In 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 PyCharm installation folder.
Note that a repository added via this property is not visible in the Manage Repositories dialog.
See Also
Concepts:
Procedures:
- Installing, Updating and Uninstalling Repository Plugins
- Adding Plugins to Enterprise Repositories
- Managing Plugins
- Plugin Development Guidelines
Reference:
Web Resources: