I'm just looking for a bit of advice as to what PyCharm can offer regarding working with small projects. In particular, wokring with the Python path.
So we have a couple of projects that contain a number of AWS lambdas. These have been laid out in a couple of different ways:
requirementst.xt (referring to library code using relative paths)
The other way:
<symlinks to shared code elsewhere>
In both cases, we tend to open up PyCharm at the root and work on it as a whole. The first method allows me to open up each lambda as a seprate project, but it always feel more convenient to open up the whole thing and see everything together. (And avoids having a Recently Used List containing loads of small projects)
The problem comes with the python path. In order to get proper code assistance or run unit tests, I need to keep marking/unmarking directories as source etc. What normally happens if we end up just doing without coding assistance a lot of the time, unless there are big changes in which case we might fiddle with it. But quite often we're navigating across the whole thing to try to track down problems, so it's not really practical to keep switching contexts.
Is there anything in PyCharm where we can define some sort of scope, so that if I'm editing code in one directory it might use one set of Source Directories, but if I'm somewhere else it automatically changes?
Does anyone else have any experience with this kind of thing?