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

Feature request: Integrate Pkg3 projects into Juno #175

Open
mkborregaard opened this issue Oct 4, 2018 · 3 comments
Open

Feature request: Integrate Pkg3 projects into Juno #175

mkborregaard opened this issue Oct 4, 2018 · 3 comments

Comments

@mkborregaard
Copy link

As discussed recently on Slack.

It would be nice to have Atom projects associated with the project structure of Pkg3.
That could involve just activating the Pkg project associated with that folder, e.g. by having --project flag on julia by default - it should simply default to (1.0) when no project is in the folder. This is nice because with Pkg3 you'd not necessarily have all the packages you use installed on your default project, so mostly you'd need to activate your project to use it anyway.

It would also be nice to have an optionin the Julia menu bar that allows you to “create” a project or “open” a previous one, that would take care of opening the right folder and activating the environment etc. According to Pkg documentation, all projects are "packages" or "applications", where "applications are e.g. simulations or analytical code not intended as a package. Applications should also have the default file structure with src/myproject.jl , test/runtests.jl and project.toml, and it would be nice to have these created automatically. Possibly PkgDev could be used for this. Possibly with an empty module inside src/myproject.jl etc, to support new adopters (and old adopters) having a good workflow in Julia.

@MikeInnes
Copy link
Member

Having the --project flag on by default has the same issues as for Julia proper, unfortunately. There are probably ways to make this convenient but opt-in though; for example, having an "activate" command perhaps whitelisting any previously activated project for automatic activation.

@pfitzseb
Copy link
Member

pfitzseb commented Oct 5, 2018

Similar thoughts in JunoLab/atom-julia-client#524.

@pdeffebach
Copy link

Similar to #173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants