From 298820647b691200e4ab3eecbe9b40cfb8f1c107 Mon Sep 17 00:00:00 2001 From: Bogdan Ruslanovich Drozd Date: Sun, 20 Nov 2022 18:05:08 +0300 Subject: fix: PyCharm profiles Do not use `private-cache`, because PyCharm places in cache directories stuff like spelling dictionary (i. e. if you download spelling dictionary with `private-cache`, on restart PyCharm you need to download spelling dictionary again). --- etc/profile-m-z/pycharm-community.profile | 9 +++++++-- etc/profile-m-z/pycharm-professional.profile | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'etc/profile-m-z') diff --git a/etc/profile-m-z/pycharm-community.profile b/etc/profile-m-z/pycharm-community.profile index 629396aaa..875b83e8e 100644 --- a/etc/profile-m-z/pycharm-community.profile +++ b/etc/profile-m-z/pycharm-community.profile @@ -5,7 +5,13 @@ include pycharm-community.local # Persistent global definitions include globals.local -noblacklist ${HOME}/.PyCharmCE* +noblacklist ${HOME}/.PyCharm* +# Persistent cache is needed for spell and grammar checkers, etc. +noblacklist ${HOME}/.cache/JetBrains/PyCharm* +noblacklist ${HOME}/.config/JetBrains/PyCharm* +# Not `PyCharm*`, because the state about of "anonymous data sent" is shared +# between JetBrains IDEs. +noblacklist ${HOME}/.local/share/JetBrains # Allow java (blacklisted by disable-devel.inc) include allow-java.inc @@ -30,7 +36,6 @@ tracelog # private-etc alternatives,fonts,passwd - minimal required to run but will probably break # program! -private-cache private-dev private-tmp diff --git a/etc/profile-m-z/pycharm-professional.profile b/etc/profile-m-z/pycharm-professional.profile index b754a18c9..126f5cec8 100644 --- a/etc/profile-m-z/pycharm-professional.profile +++ b/etc/profile-m-z/pycharm-professional.profile @@ -6,7 +6,5 @@ include pyucharm-professional.local # added by included profile #include globals.local -noblacklist ${HOME}/.PyCharm* - # Redirect include pycharm-community.profile -- cgit v1.2.3-54-g00ecf