Q1: Yes
Q2: Yes
Q3: Yes
Q4: Environments are stacked, if you look at e.g. Base.load_path() after you activate your new package you see that there are multiple entries there. When you do using Example Julia finds it in the second entry in the stack – the default environment v1. However, since you have not added the Example package to the new environment you can not using Example from within that package itself.
Q5: Not sure what you mean, why would you want all projects in that folder? Instead you keep each toml-pair in your project folder.
Q6: dev is convenience for git clone url.to.pacakge && dev path/to/git-repo. For example, if you want to be able to using Foobar from your default environment you can add it to that environment by deving the path to your generated package.
Q7: Easiest is either to use dev as described above, or you can just manually git clone it and work within that package environment. You should never have to download any packages yourself though.
4 Likes