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

Utilization of Base.active_project() #23

Open
StefanPofahl opened this issue Dec 1, 2022 · 2 comments
Open

Utilization of Base.active_project() #23

StefanPofahl opened this issue Dec 1, 2022 · 2 comments

Comments

@StefanPofahl
Copy link

What about using the command Base.active_project() to take the right Pkg-Julia-Environment per default?

@jwortmann
Copy link
Member

Do you have a concrete example how how it should be used and what exactly you want to solve with it?

Note that the Sublime API and this plugin (mostly) is implemented in Python, and starting another Julia subprocess might add a bit of overhead time. And wouldn't this just return the same information that you have already provided yourself when communicating with this Julia subprocess?

But pull requests with improvements are always welcome, of course.

@StefanPofahl
Copy link
Author

Thank for the fast responnse :-)
As far as I understood, I should open the folder, which holds the Project.toml that defines the environment settings.
But if I use the command Base.active_project() LSP-julia can be informed about the correct environment Project.toml,
even if I open a project folder instead of the environment folder. I hope it is clearer now.

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

No branches or pull requests

2 participants