The Julia Manual when describing package manager prompt states:
The part inside the parenthesis of the prompt shows the name of the current project.
However, I am not sure about what is the meaning of word “current” in this sentence.
For example assume that we are in an empty named ABC in Julia REPL.
We run init in package manager mode do create Project.toml. Now the prompt will show:
(ABC) pkg>
and the folder is added as a first entry to LOAD_PATH.
Now exit Julia and start it again. LOAD_PATH does not contain project folder - you need to activate it to add it. However, going to package manager mode gives:
(ABC) pkg>
even without activation.
The question is is this intended and in particular:
- what is the
(ABC)meant to mean in package manager mode: just to indicate that somewhereProject.tomlfile exists upwards in the folder tree? - is there a way to check if the project is activated except from looking at
LOAD_PATHorPkg.API.ACTIVE_ENVdirectly?