-
Notifications
You must be signed in to change notification settings - Fork 93
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: Create New Folder w/ venv #1441
Comments
Also related to: #1371 |
There's also some interesting discussion from the python-extension folks at: microsoft/vscode-python#19314 |
In our Python OSS sync meeting this week, the following list of jobs/tasks was put together about what folks want to do when they are creating a new workspace:
This should happen before even opening the folder, so the experience feels very seamless. |
Wow, looks great! Minor nit, but probably default to check for Install ipykernel, since it's essentially required for a fresh environment? Possibly out of scope... |
Agreed on the ipykernel checkbox default. It's a bit of a weird one because you can't actually use the environment in Positron without ipykernel installed so maybe a checkbox isn't the right component. At the same time, we don't want to install something into a user's environment without their permission. Maybe a checkbox with a note? I've personally been focused on how we integrate Python environment management into New Folder. I think "project type" is important, but not sure if we tackle that at the same time or later – perhaps @petetronic can comment? |
I think project type will be an earlier question. Thanks for pushing this along @seeM, maybe we could rearrange the order of questions such that you pick an interpreter first, and then if that isn't already a venv etc., then offer the section to create one as a secondary consideration? |
We presented this UI mockup in the monthly Python OSS sync and folks were so excited about having good tooling around this! Here is some feedback:
|
Few thoughts:
Overall, I like the look of this for a simple data science Python folder! |
cc @sharon-wang |
JupyterLab now has a "new environment" wizard, but is not necessarily tied to a new folder. https://blog.jupyter.org/python-environment-management-in-jupyterlab-desktop-3b119c5811d9 |
Positron Version:
Steps to reproduce the issue:
As someone who largely uses virtual environments, I frequently hit the "Python support requires module ipykernel. Install?" each time I open up a new project/folder.
The VS Code Python extension has a built in way to create environments via Venv or Conda: https://code.visualstudio.com/docs/python/environments#_creating-environments
This helps with hooking up all the plumbing so that VSCode/Positron gets users into a good starting state of the virtual environment is created, recognized, and respected.
In Positron, it might be nice to build on that concept and support creating a folder with some predefined R/Py structure:
What did you expect to happen?
Were there any error messages in the output or Developer Tools console?
The text was updated successfully, but these errors were encountered: