Stream: helpdesk (published)

Topic: Nested environments?


view this post on Zulip Richard Reeve (Apr 26 2022 at 21:24):

This seems like an obvious question, but I can't find the answer anywhere. I want to have all of my environments to have Revise installed, but I don't want to have to do that manually because Revise isn't relevant to the specific project - for instance I want to have Revise installed in every environment in every examples folder in every package I write without specifying it. Is there any way of automatically including some environment (i.e. some global Project.toml / Manifest.toml) in any current environment? Or maybe a way of nesting one environment inside another?

view this post on Zulip j-fu (Apr 26 2022 at 21:53):

These are rather called "stacked" environments.
See https://discourse.julialang.org/t/why-not-always-use-revise/64589/6

It should be sufficient to add Revise to the default environment to make it available while activating project and package environments.


Last updated: Oct 02 2023 at 04:34 UTC