Change configuration settings pycharm что делать
Перейти к содержимому

Change configuration settings pycharm что делать

  • автор:

Как сбить настройки в PyCharm?

Копался в настройках, поменял цветовую тему (схему). Ничего не трогая, сразу же вернул Default, но случилось страшное, в местах, где должен быть текст, всё поменялось, и тема стала белой, а в остальных местах осталась чёрной
2b55f1d5c8134a26aecacbad8425850c.PNG

Как ресетнуть настройки. (нужна именно белая тема)
Файл restarter.exe рядом с лаунчером проги — не помогает.

Или подскажите нормальную среду для Python

  • Вопрос задан более трёх лет назад
  • 18265 просмотров
  • Facebook
  • Вконтакте
  • Twitter

gim0

/.PyCharm40
В Windows наверняка где-то в %APPDATA%, ищи там.

  • Facebook
  • Вконтакте
  • Twitter
  • Facebook
  • Вконтакте
  • Twitter

УРААААААА
кому ещё пригодится
нужно удалить папку .PyCharm40 в вашем Пользователе
4163c6e075ac4880b6eed8cc570d6841.PNG
Предупреждаю, удалятся все настройки.
В т.ч. и лицензия (придётся ввести заново (не трудно)).
Если нужно только настройки, то покопайтесь, там есть 2 папки, config, system

Configuring PyCharm settings

In PyCharm, you can configure the settings on two levels: the project level and globally .

Types of settings

Global settings apply to all projects that you open with a specific installation or version of PyCharm. Such settings include IDE appearance (themes, color schemes, menus and toolbars), notification settings, the set of the installed and enabled plugins, debugger settings, code completion, and so on.

Project settings apply to the current project only, unless you configure them as default settings for new projects . Such settings include VCS configuration, code style options, the list of language inspections, and so on.

To configure your IDE, select PyCharm | Settings for macOS or File | Settings for Windows and Linux. Alternatively, press Control+Alt+S or click on the toolbar.

Settings that are NOT marked with the icon in the Settings dialog are global and apply to all existing projects of the current PyCharm version.

Global settings marked in the Settings dialog

Restore IDE settings

When you restore the default IDE settings, PyCharm backs up your configuration to another directory. You can always restore your settings from that backup.

Back up your settings and restore the defaults

From the main menu, select File | Manage IDE Settings | Restore Default Settings .

Alternatively, press Shift twice and type Restore default settings .

Click Restore and Restart . The IDE will be restarted with the default configuration.

When PyCharm restores the default IDE settings, it creates a backup directory with your configuration in:

How to set the default working directory for run configurations in PyCharm

When I want to run one of our many python scripts I hit run, which creates a new run configuration. The working directory for that configuration is the folder in which the python script file resides. Instead, it should run from a project wide fixed folder. I’d like to set that somehow but I really cannot figure out why, which is a bit odd as I’d expect many people to want to have this functionality. Do you know how to pull this off?

2 Answers 2

If you hit the Edit configurations. button in the submenu appearing when clicking on your currently selected run configuration in the top right of PyCharm, you are able to edit the fields (and therefore also the working directory) of Python run configurations by selecting Python from the Templates (also called Defaults in versions pre-2018) and specifying the desired values.

Don’t forget to hit Apply / OK before creating new run configurations, which should now contain the default values you specified!

Jean-François Corbett's user avatar

@mxscho’s answer works. Here I list the steps how to set working directory for auto-detected test cases.

Click Edit Configurations. . The working directory is the directory which contains the current Python file by default.

enter image description here

Click Edit configuration templates. . In the open window, set working directory for Python tests -> autodetect . enter image description here

Afterwards, when you run a test case, the new created run configuration would inherit the working directory setting from the configuration template.

Как сбросить настройки pycharm по умолчанию

In PyCharm, you can configure the settings on two levels: the project level and globally.

Types of settings

Global settings apply to all projects that you open with a specific installation or version of PyCharm. Such settings include IDE appearance (themes, color schemes, menus and toolbars), notification settings, the set of the installed and enabled plugins, debugger settings, code completion, and so on.

To configure your IDE, select PyCharm | Preferences for macOS or File | Settings for Windows and Linux. Alternatively, press Ctrl+Alt+S or click on the toolbar.

Settings that are NOT marked with the icon in the Settings/Preferences dialog are global and apply to all existing projects of the current PyCharm version.

Global settings marked in the Settings/Preferences dialog

Restore IDE settings

When you restore the default IDE settings, PyCharm backs up your configuration to a directory. You can always restore your settings from this backup.

Back up your settings and restore the defaults

From the main menu, select File | Manage IDE Settings | Restore Default Settings .

Alternatively, press Shift twice and type Restore default settings .

Click Restore and Restart . The IDE will be restarted with the default configuration.

When PyCharm restores the default IDE settings, it creates a backup directory with your configuration in:

Как удалить тему материала (или сбросить настройки по умолчанию) из IntelliJ / PyCharm?

Я установил интерфейс Material Theme, и это сделало мою IDE черноватой. Позже я решил удалить и удалить плагин. К сожалению, это не вернуло цвета по умолчанию, некоторые части IDE, например панель проекта, остались черноватыми.

Как ro восстановить?

Как удалить тему из IntelliJ / PyCharm?

7 ответов

вы можете перейти в Настройки — > Плагины в строке поиска, введите Material UI затем нажмите на кнопку Удалить .

  1. на Settings->Plugins и удалить материал UI плагин
  2. переключиться на тему по умолчанию в Settings->Editor->Color Scheme

если это не помогает (это случилось со мной), и у вас все еще есть некоторые цвета/шрифты из удаленного материала UI — похоже, тема Material UI переопределяет некоторые цвета по умолчанию. Затем вы должны закрыть Intellij, перейти в папку IntelliJ config (в Windows это C:/Users/<your username>/.IntellijIdeaXXXX.X/config ) и удалить этот config папка и перезапустите Intellij. Он должен показать вам диалоговое окно для импорта настроек из предыдущей версии или использования настроек по умолчанию (например, при установке Intellij и первом запуске). После этого все будет переключено на цвета/шрифты по умолчанию.

пресс Command + , (comma) (ярлык для настроек) и поиск материала. Удалите материал в разделе Плагины.

немного грубой силы, но вы можете попробовать и удалить тему напрямую.

Закрыть IntelliJ
Обратиться. :.\JetBrains\темы
Удалить материал UI
Открыть IntelliJ

  1. удалить материал тема UI плагин: Настройки — > Плагины
  2. удалить цвета из папки config: C:\Users\User имя\ \config\colors (не удаляйте всю папку config, потому что все предыдущие настройки и задачи будут удалены)
  3. удалить файл material_theme: C:\Users\User имя\ \options\material_theme

функция цвета состояния файла также является функцией, которая остается за пределами области плагина, поскольку она изменяет саму среду IDE. Поэтому при удалении / отключении плагина цвета будут застрять.

Если вы хотите сбросить цвета по умолчанию, откройте Настройки в Version Control — > File Status Colors в 2017.3+. В предыдущих версиях вам нужно будет перейти в каталог config и удалить _@user_Darcula.цветовая схема icls вручную.

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

Как удалить материальную тему (или сбросить настройки по умолчанию) из IntelliJ/PyCharm?

Я установил пользовательский интерфейс Material Theme, и моя IDE стала черноватой. Позже я решил удалить и удалил плагин. К сожалению, цвета по умолчанию это не вернуло, некоторые части IDE, например панель Project, остались черноватыми.

Как удалить материальную тему из IntelliJ/PyCharm?

вы можете перейти в «Настройки» -> «Плагины» в строке поиска, ввести Material UI и нажать кнопку «Удалить».

  1. Перейдите Settings->Plugins и удалите плагин Material UI.
  2. Переключитесь на тему по умолчанию в Settings->Editor->Color Scheme

Если это не помогает (это случилось со мной), и у вас все еще есть некоторые цвета/шрифты из удаленного пользовательского интерфейса материала — похоже, тема пользовательского интерфейса материала переопределяет некоторые цвета по умолчанию. Затем вы должны закрыть Intellij, перейти в папку конфигурации Intellij (в Windows это C:/Users/<your username>/.IntellijIdeaXXXX.X/config ), удалить эту config папку и перезапустить Intellij. Он должен показать вам диалоговое окно для импорта настроек из предыдущей версии или использования значений по умолчанию (например, при установке Intellij и первом запуске). После этого все будет переключено на цвета/шрифты по умолчанию.

File Colors stuck after uninstallation The File Status Colors feature is also a feature that sticks outside of the realm of the plugin as it modifies the IDE itself. Therefore when uninstalling/disabling the plugin the colors will stuck.

If you want to reset to the default colors, open the Settings at Version Control -> File Status Colors in 2017.3+. In previous versions, you will need to go to the config directory and delete the [email protected]_Darcula.icls color scheme manually.

Ни один из них не работал для меня как приемлемое решение. Итак, вот что я понял:

  1. Перейдите к плагинам, удалите Material UI.
  2. Убедитесь, что используется цветовая схема Default/Darcula.
  3. Идея перезапуска.

На этом этапе большинство изменений вернулись к значениям по умолчанию, но некоторые вещи, такие как цвет текущей вкладки, выделение ошибок, измененные файлы и т. д., все еще не вернулись к обычному состоянию. Поэтому я последовал совету по удалению config , и все вернулось на круги своя. Но с этой опцией вы потеряете все , даже установленные плагины. Хуже всего было то, что я использовал хранилище настроек для синхронизации настроек, и через несколько минут цвета вернулись! Поэтому я провел сравнение со старым каталогом конфигурации, а затем git log обнаружил, что эти файлы являются виновниками.

Удалите эти 4 файла из этого пути: .IntelliJIdea<version>/config/settingsRepository/repository/

  1. цвета/ [email protected] _Darcula.icls
  2. цвета/ [email protected] _Default.icls
  3. material_custom_theme. XML
  4. material_theme.xml

Затем выполните git commit и git push , чтобы убедиться, что они синхронизированы с вашим репозиторием. И, наконец, тема вернулась в нормальное русло!

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

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