I want PyCharm to look at my PYTHONPATH variable for module autocompletion every time it loads up, or I open a new project, because I have defined paths to various modules there.
I know about the solution where I edit the interpreter settings manually and the one where I set the modules root as "source root". Both of them are not an option, because the paths to my modules are changing from time to time and they also do not lie in one folder but in many different subfolders.
I also tried to add the paths to my modules to the interpreter settings xml (jdk.table.xml) but it gets reverted every time I open PyCharm.
Version: PyCharm 2022.2.3 (Community Edition)