Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A richer REPL experience for sub-environments #1092

Open
00vareladavid opened this issue Feb 27, 2019 · 1 comment
Open

A richer REPL experience for sub-environments #1092

00vareladavid opened this issue Feb 27, 2019 · 1 comment
Labels
feature REPL sandbox New test/Project.toml testing framework

Comments

@00vareladavid
Copy link
Contributor

#1051 provides a convenient way to navigate sub-environments. I think it is necessary, but not sufficient, for a good UX.

activate +test (as opposed to activate test) also shows the intention of a user to use an environment as a subenv of the active environment. We can leverage this information to display better feedback to users.

For example: after running activate test, the user is shown (test) pkg>. You know that a test environment is activated, but you don't know what environment that test environment applies to.
We can change this feedback to something like (Foo:test) pkg>.

+ subenv syntax is more general than testing. If #1085 is implemented, I can image a workflow along these lines:

(Foo) pkg> activate +feature/A
(Foo:A) pkg> add Bar
(Foo:A) pkg> test
(Foo:A) pkg> activate -
(Foo) pkg>

Don't mean to get ahead of myself 😁. Just something to consider if/when we get to that point.

@00vareladavid 00vareladavid added REPL sandbox New test/Project.toml testing framework labels Feb 27, 2019
@StefanKarpinski
Copy link
Member

Nice idea. It would be nice if the + and : could be unified, it's kind of weird to use different characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature REPL sandbox New test/Project.toml testing framework
Projects
None yet
Development

No branches or pull requests

2 participants