Как удалить плагин в pycharm
Перейти к содержимому

Как удалить плагин в pycharm

  • автор:

Install plugins

Plugins extend the core functionality of PyCharm. For example, install plugins to get the following features:

  • Integration with version control systems, issue trackers, build management servers, and other tools.
  • Coding assistance support for various languages and frameworks.
  • Shortcut hints, live previews, File Watchers, and so on.
  • Coding exercises that can help you to learn a new programming language.

By default, PyCharm includes a number of bundled plugins. You can disable bundled plugins, but they cannot be removed. You can install additional plugins from the plugin repository or from a local archive file (ZIP or JAR).

Open plugin settings

The Plugins settings dialog

  • Press Control+Alt+S to open the IDE settings and then select Plugins .

Use the Marketplace tab to browse and install plugins from JetBrains Marketplace or from a custom plugin repository.

Use the Installed tab to browse bundled and installed plugins, enable, disable, update, or remove them. Disabling unnecessary plugins can increase performance.

Most plugins can be used with any JetBrains product. Some are limited only to commercial products, others require a separate license.

If a plugin depends on some other plugin, you can find a list of the dependencies in the Additional Info tab. If your project depends on certain plugins, add them to the list of required plugins.

By default, PyCharm includes several bundled plugins. You can disable bundled plugins, but they cannot be removed. You can install additional plugins from the plugin repository or from a local archive file (ZIP or JAR).

Install plugin from Marketplace

  1. Press Control+Alt+S to open the IDE settings and then select Plugins .
  2. Click the Marketplace tab and type the plugin name in the search field.
  3. To install the plugin, click Install and restart PyCharm.

To install a specific version, go to the plugin page in JetBrains Marketplace, download and install it as described in Install plugin from disk. For example, you can do it if the most recent version of the plugin is broken.

Install plugin from disk

Install Plugin from Disk

  1. Download the plugin archive (ZIP or JAR).
  2. Press Control+Alt+S to open the IDE settings and then select Plugins .
  3. On the Plugins page, click and then click Install Plugin from Disk… .
  4. Select the plugin archive file and click OK .
  5. Click OK to apply the changes and restart the IDE if prompted.

Install plugin from command line

Plugin ID

  1. Quit the IDE on which you want to install the plugin.
  2. From JetBrains Marketplace page, find the page of the required plugin, select the Versions tab, and click any version to copy pluginId . pluginId is a short name of the plugin you want to install. For example, tanvd.grazi .
  3. Install the plugin:

Navigate to the bin directory under your PyCharm installation directory and run the following command:

pycharm64.exe installPlugins
For example:
pycharm64.exe installPlugins tanvd.grazi
Run the following command:
open -na «PyCharm.app» —args installPlugins
For example:
open -na «PyCharm.app» —args installPlugins tanvd.grazi

Navigate to the bin directory under your PyCharm installation directory and run the following command:

pycharm.sh installPlugins
For example:
pycharm.sh installPlugins tanvd.grazi

Remove plugin

You cannot remove bundled plugins.

The Uninstall item for plugins

  1. Press Control+Alt+S to open the IDE settings and then select Plugins .
  2. Open the Installed tab and find the plugin that you want to remove.
  3. Expand the Disable list and select Uninstall .

Disable plugin

You can disable a plugin without removing it if you do not need the corresponding functionality.

  1. Press Control+Alt+S to open the IDE settings and then select Plugins .
  2. Open the Installed tab, find and select the plugin that you want to disable.
  3. On the plugin’s description pane, click Disable . Alternatively, you can use the checkboxes in the list of plugins or the Disable all buttons for plugin categories.

You can disable or enable all manually installed plugins at once (non-bundled) in the menu under .

Disable all downloaded plugins

Required plugins

A project may require plugins that provide support for certain technologies or frameworks. You can add such plugins to the list of required plugins for the current project, so that PyCharm will verify that the plugins are installed and enabled. It will notify you if you forget about some plugin, or someone on your team is not aware about the dependency as they work on the project.

Add a required plugin for your current project

Add required plugin dialog

  1. Make sure the required plugin is installed.
  2. Press Control+Alt+S to open the IDE settings and then select Build, Execution, Deployment | Required Plugins .
  3. On the Required Plugins page, click and select the plugin. Optionally, specify the minimum and maximum version of the plugin.

To specify the required version of PyCharm itself, add IDE Core to the list of required plugins.

The list of required plugins is stored in the .idea/externalDependencies.xml file of your project. When you open the project in PyCharm, it will notify you if the required plugin is disabled, not installed, or requires an update.

Required plugin is disabled

Click the link in the notification message to quickly enable, install, or update the required plugin.

Suggested plugins

When you open a project, PyCharm can suggest installing and enabling plugins based on libraries used in your project. Do not confuse suggested plugins with required plugins that you can manually add to a project so that your teammates also use it.

For more information about the criteria for suggesting plugins, refer to the JetBrains Marketpalce documentation.

If you don’t need a particular plugin, you can prevent PyCharm from suggesting it. You can also use your notification settings to disable or enable notifications of all plugin suggestions and the way they are displayed.

Disable suggestions of a plugin

  • When a notification of a suggested plugin appears, click Don’t suggest again .

Next time when you open a project, PyCharm will not suggest this plugin.

Check a project for suggested plugins

You can check your project for suggested plugins except for plugins for which you have disabled suggestions.

Check suggested plugins

  1. Press Control+Shift+A and start typing Check Suggested Plugins .
  2. Select the Check Suggested Plugins action.
  3. If PyCharm has a plugin applicable to your project, you’ll see the notification message. Click the link in the notification message to install or enable the suggested plugin.

Alternatively, you can open the IDE settings ( Control+Alt+S ) and go to Plugins | Marketplace : If there are plugins suggested for your project, they will be displayed on top of the plugin list, in the Suggested section.

Suggested plugins

Custom plugin repositories

By default, PyCharm is configured to use plugins from JetBrains Marketplace. This is a public repository where everyone can host their plugins. However, if you develop plugins for internal use only, you can set up a custom plugin repository for them.

For more information about setting up a custom plugin repository, see the IntelliJ Platform SDK documentation.

Once you set up your plugin repository, add it to PyCharm:

Add custom repositories

How to add a custom plugin repository

  1. Press Control+Alt+S to open the IDE settings and then select Plugins .
  2. On the Plugins page, click and select Manage Plugin Repositories… .
  3. In the Custom Plugin Repositories dialog, click and specify your repository URL. It must point to the location of the XML file that describes your plugin, for example, updatePlugins.xml . The file can be on the same server as your custom plugins, or on a dedicated one.
  4. Click OK in the Custom Plugin Repositories dialog to save the list of plugin repositories.
  5. Click OK in the Settings dialog to apply the changes.

When you search for plugins, PyCharm will show you results both from default JetBrains Marketplace and any custom repositories that you specify. To browse only a certain custom plugin repository, type repository: followed by the URL of the repository in the search field on the Marketplace tab of the Plugins page. For example:

repository:http://plugins.example.com:8080/updatePlugins.xml myPlugin

Alternatively, you can add your custom plugin repositories using the idea.plugin.hosts property:

  1. Go to Help | Edit Custom Properties .
  2. Add the idea.plugin.hosts property to the platform properties file and specify the URL of the XML file that describes your plugin. For example:

idea.plugin.hosts=»http://plugins.example.com:8080/updatePlugins.xml»

You may want to replace default JetBrains Marketplace with your custom plugin repository. This can be helpful if you want only your custom repository plugins to be available from PyCharm.

Replace the default plugin repository

  1. Go to Help | Edit Custom Properties .
  2. Add the idea.plugins.host property to the platform properties file and specify the URL of the application that can properly handle requests from PyCharm, that is, act as the default plugin repository application instead of JetBrains Marketplace. In particular, it should handle the following requests:
    • Get the list of plugins
    • Download the latest plugin update
  3. Restart PyCharm.

If you replace the default plugin repository, the search field on the Marketplace tab of the Plugins dialog will browse only the plugins in the new default repository and any custom repositories that you add.

Productivity tips

Filter and sort search results

  • Type a forward slash / in the search string to see options for filtering and sorting search results. For example, you can add the following options to your search string to list only language-related plugins and sort them alphabetically by name:

Как найти и удалить плагин SQLScout в Pycharm?

При использовании pycharm постоянно появляется такое сообщение:
Plugin Error: Plugin «SQLScout (SQLite Support)» is incompatible (supported only in IntelliJ IDEA).

Я не помню ставил ли такой плагин — но в списке установленных его нет. Как пофиксить такое оповещение и избавится от SQLScout если он где-то есть?

5ed8fc930c46d491619155.jpeg

  • Вопрос задан более трёх лет назад
  • 1366 просмотров

Комментировать
Решения вопроса 1

Viji

Associate DevOps Engineer

А если удалить его отсюда?

Ответ написан более трёх лет назад
Нравится 1 2 комментария
mikhal_ivanych @mikhal_ivanych Автор вопроса
Вадим нет такой папки у меня.

Viji

Похоже баг
https://youtrack.jetbrains.com/issue/PY-40772
Ответы на вопрос 1

trapwalker

Сергей П @trapwalker Куратор тега Python
Программист, энтузиаст

Так я и не понял, решили вы проблему для себя или нет?

Нужно найти каталоги вида:
%HOMEPATH%\\.\config\plugins
Показать здесь их содержимое.
Указать версию всех продуктов JetBrains, установленных в системе.
Удалить все следы проблемного плагина.

Ответ написан более трёх лет назад
Нравится 3 1 комментарий
mikhal_ivanych @mikhal_ivanych Автор вопроса

Сергей Паньков Добрый день. Вот решаю проблему онлайн, спасибо за сообщение.
Такую папку пока не могу обнаружить.

Нашел только стандартную папку установки C:\Program Files\JetBrains. Вот скрины.

5eda9b8ad029e800984194.jpeg

C:\Program Files\JetBrains\PyCharm Community Edition 2020.1 — старая версия, почти ничего нет.

Содержимое C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1:
5eda9b9947474252777983.jpeg
5eda9ba39135f392988673.jpeg

Как отключить плагин в intellij idea чтоб тот не участвовал в сборке проекта

В intellij idea используется плагин FindBugs-IDEA v1.0.1. Можно ли как то его отключать на время сборки jar ( но не удаляя его, тк он нужен в проекте ), иначе он сильно грузит систему и компьютером невозможно пользоваться в это время.

Отслеживать
задан 28 фев 2020 в 12:15
289 1 1 золотой знак 5 5 серебряных знаков 19 19 бронзовых знаков

3 ответа 3

Сортировка: Сброс на вариант по умолчанию

Можно лишь отключить перед сборкой, а после снова включить, но каждый раз будет рестарт идеи. Необходимо нажать File->Settings, выбрать вкладку Plugins и отключай нужный тебе плагин.

Отслеживать
ответ дан 26 июн 2020 в 20:14
Ivan Shchipalkin Ivan Shchipalkin

в строку комманды maven для сборки jar нужно добавить -Dимяплагина.skip=true ,например для плагина CheckStyle нужно добавить -Dcheckstyle.skip

Плагины, горячие клавиши, настройки для PyCharm

Всем привет! Перед самим списком плагинов, горячих клавиш и т. п. небольшой дисклеймер.

Думаю каждый разработчик хоть раз встаёт перед трудным вопросом: Где и как писать код? Многие «тру» программисты тут же ответят: VIM NVIM и другие консольные редакторы. Но мы то с вами нормальные люди и хотим разрабатывать с удобством и комфортом. Хотим облегчить процесс кодинга.

Именно поэтому, многие программисты и отдают предпочтение ide’шкам, а не консольным редакторам.

После установки любой современной ide, у вас наверняка наступает ощущение абсолютной радости (особенно, если вы раньше вообще не программировали). Но после первых пары дней, вы узнаете о такой потрясающей вещи как плагины. Да. Это то, что может сделать опыт работы с ide ещё более простым, понятным, комфортным.

Когда я только начинал свой путь в разработке, я решил использовать PyCharm (соотвественно, для разработки на Python). И по моему глубокому убеждению не прогадал. PyCharm относительно лёгкая, относительно минималистичная ide’шка. Но не смотря на это, PyCharm — мощнейший инструмент для написания кода. Всё, начиная от подсветки синтаксиса и подсказок типов и заканчивая возможностью делать рефакторинг за одно сочетание клавиш, приводить весь код к единому стандарту, подключаться к базе данных и FTP/SSH, всё это может делать наш горячо любимый PyCharm.

Так зачем же тогда такому прекрасному редактору ещё и плагины? Всё очень просто, плагины позволяют нам добавить узкоспециализированные фичи, который просто не помещаются в стандартную «библиотеку» PyCharm.

Но в интернете практически нет статей посвящённых набору крутых плагинов, такие статьи разбросаны по всему интернету и найти в них ценный материал крайне сложно, поэтому, надеюсь, эта статья и станет своего рода базой, единым топом крутых плагинов для наших любых ide от JetBrains и для PyCharm в частности.

Итак, начнём с плагинов, я буду перечислять их примерно отсортировав по степени важности (по моему мнению).

Топ плагинов для PyCharm:

  1. Tabnine — подсказки с использованием ИИ. Очень крутой плагин, сильно помогает при написании кода, использую всегда.
  2. Translation — супер полезный плагин, позволяет запустить переводчик прямо из кода. Использование: выделить нужный текст, нажать ПКМ и выбрать Translate/Translate and Repace. Либо нажать в правом верхнем углу на иконку перевода.
  3. PyLint — линтер для Python, указывает на плохой код. Использование: выбрать в нижнем меню PyLint и запустить проверку.
  4. MyPy — проверка типов в Python (чтобы не допускать ошибки связанные с типом возвращаемых значений). Использование: выбрать в нижнем меню MyPy и запустить проверку.
  5. SonarLint — указывает на различные ошибки в нейминге переменных/функций/классов. Использование: Ctrl+Shift+S или выбрать в нижнем меню SonarLint и запустить проверку.`
  6. Python Security — проверяет код на уязвимости, работает автоматически.
  7. Quick File Preview — посмотреть файл не открывая его, полезен если вы постоянно бегаете по файлам в поисках буквально 1 строчки и нет смысла полностью открывать файл (в данный момент этот функционал уже реализован в PyCharm:https://www.jetbrains.com/help/idea/2020.3/using-code-editor.html#preview-tab). Использование: Один раз кликнуть на файл.
  8. String Manipulation — работа с названиями переменных/функций и т. п. (можно привести к snake_case, camelCase и т. п.), Использование: выделить нужное слово, нажать ПКМ, нажать String Manipulation, нажать Switch Case и выбрать нужный пункт.
  9. Rainbow Brackets — красит скобочки в свой цвет, нужно чтобы чётко видеть иерархию скобок.
  10. Python Smart Execute — запустить блок кода в консоли, не запуская при этом саму программу (к примеру для теста на работоспособность). Использование: выделить код и Alt+Shift+A, или нажать ПКМ и выбрать Smart execute.
  11. MultiHighlight — выделить какое-либо название цветом (к примеру чтобы не забыть отрефакторить этот кусок). Использование: Выделить кусок и нажать Ctrl+’
  12. Dummy Text Generator — сгенерировать рандомное предложение в различных стилях. Бывает полезно для теста функционала (к примеру, что текст отображения не вылазит за рамки). Использование: Нажать ПКМ, выбрать Generate (либо Alt+Insert), выбрать Generate Dummy Text.
  13. Randomness — сгенерировать случайное число, строку и т. п. Использование: нажать Alt+R и выбрать нужное действие.
  14. CodeGlance — добавляет карту с кодом в правую часть окна.
  15. Material Theme UI — меняет цветовую палитру. Использование: Установите плагин, справа снизу появится надпись о текущей цветовой схеме (например, Darcula). Нажмите на неё и выберите новую палитру.
  16. Extra Icons — изменяет стандартные иконки. Использование: Включить Settings/Appearance Behavior/Extra Icons
  17. Mario Progress Bar — изменяет стандартный прогресс бар на марио.

Теперь предлагаю перейти на интересные сочетания клавиш, которые позволят вам быстрее выполнять стандартные действия, да и просто ускорят вашу разработку (кнопки для обычной, НЕ МАКОВСКОЙ клавиатуры).

  1. Ctrl+Alt+S — Перейти в настройки (откроется та часть где вы остановились).
  2. Ctrl+Shift+Стрелочки (вверх, вниз) — Переместить строчку вверх или вниз.
  3. Ctrl+D/Y — Дублировать строчку/Удалить строчку.
  4. Alt+Enter — Привести код к принятым стандартам (для Python — PEP8).
  5. Ctrl+B — Переместиться к реализации данного класса/метода и т. п.
  6. Ctrl+R — Изменить название класса/функции и т. п. по всему проекту.
  7. Double tap on Shift — поиск в классе, функции, файле, PyCharm action или везде.
  8. Ctrl+J — Использовать шаблон кода.
  9. Alt+Enter — произвести настройку класса/функции и т. п. (к примеру указать типы принимаемых и возвращаемых значений).
  10. Ctrl+E — Навигация по файлам (отображает список файлов в хронологическом порядке).
  11. Ctrl+Alt+M — Объединить выделенный код в функцию/метод.
  12. Ctrl+N — Найти класс/метод и т. п. по названию (по всем местам).
  13. Ctrl+Shift+N — Найти файл по названию (по всем местам).
  14. Alt+F7 — Посмотреть где используется класс/метод/функция и т. п.
  15. Ctrl+F12 — Показывает структура файла (класса, функции и т. п).
  16. Shift+Control+Minus и Shift+Control+Plus — скрыть или развернуть все функции/классы.

Думаю про горячие клавиши всё понятно, тут главное не спутать их 🙂

Под конец предлагаю рассмотреть интересные настройки, которые улучшат ваш опыт работы с ide.

  1. Настроить интерпретатор. Тут вы сможете изменить версию Python, добавить библиотеки и ещё много чего интересного. File -> Settings -> Project: -> Project Interpreter
  2. Изменить шрифты, размеры и т. д. File -> Settings -> editor -> font
  3. Поменять цветовую схему UI. File -> Settings -> editor -> color scheme
  4. Deploy на сервер. Эта настройка открывает нам целый мир удобного деплоя, если будет интересно, могу написать отдельную статью просвещённую деплою. Tools -> Deployment -> Configuration
  5. Добавление плагинов. File -> Settings -> Plugins
  6. Это не совсем настройка, но всё же находится в меню, так что я решил добавить это сюда. Позволяет посмотреть небольшую статистику своей продуктивности. Help -> MyProductivity
  7. Включить возможность увеличивать/уменьшать масштаб с помощью Ctrl+Колёсико. File -> Settings -> editor -> general -> Change font size with Ctrl+Mouse Wheel in: Это первый пункт меню, вам надо поставить галочку.
  8. Изменить подсветку синтаксиса. File -> Settings -> editor -> Color Scheme -> Python

На этом основные настройки заканчиваются, да их не так много как тех же плагинов или хоткеев, но для начала думаю достаточно.

Спасибо что прочитали эту статью, надеюсь вы смогли подчерпнуть с неё нечто новое.

Пишите свои крутые плагины, хоткеи, настройки, если сообществу понравится я обязательно добавлю их в статью.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *