positron
positron copied to clipboard
`New Project...` could be `New Folder Wizard...`
With @melissa-barca
I realize we have discussed this before, but we have once again confused ourselves about this, so it merits rediscussing before release.
In VS Code there are:
- Folders
- Workspaces (Generally aligns with 1 Folder, but can contain >1 Folders)
(See also, this VS Code docs discussion of the word "projects" https://code.visualstudio.com/docs/editing/workspaces/workspaces#_does-vs-code-support-projects-or-solutions)
It still feels confusing that we are introducing a 3rd term of Project on the Positron side through the New Project... workflow. The term Project seems to only be used so that we can provide a tailored experience to create a Python/R/Jupyter flavored folder, but Project has such a well-defined meaning in RStudio that this feels like a place for confusion.
It's particularly confusing that you can create a Project, but you can't open or close a Project, unlike what you can do with Folders and Workspaces.
It feels like we should avoid introducing the term Project at all, and that would remove one layer of confusion on top of the already confusing Folder vs Workspace terminology.
Then we'd exclusively use the term Folder in our documentation, except for when we are describing a multi-root Workspace, or when we are talking about Workspace Settings (for historical alignment with VS Code)
Rather than New Project..., we'd just have New Folder Wizard.... Look how nice that would feel alongside New Folder... and New Folder from git...!!
Related discussion: https://github.com/posit-dev/positron/issues/4787
Yea I think I'm the opposite of the vibe of #4787 where I think we should not fight the idea of Folder being the core unit here, and should instead lean into it
Yea I think I'm the opposite of the vibe of #4787 where I think we should not fight the idea of Folder being the core unit here, and should instead lean into it
Yes. Everything is Folder. Lean into it.
We settled on this approach:
Background
There is a currently titled "New Project" flow that opens a multi-step dialogue to create a Folder with an affiliated language runtime and/or a Folder with a Notebook.
Approach
In the + New menu and in the Folder Selector menu:
New ProjectbecomesNew Folder from Template-- we have future plans to add user-contributable templates in addition to our own pre-defined templates.New folder from gitis kept as-isNew Folderis dropped from the+ NewandFolder SelectormenusNew Folderinstead becomes a template option of "Empty" within theNew Folder from Templateflow -- this is the quick escape hatch for someone who truly wants something likemkdirthat creates a fully Empty directory with no files/dotfiles, other associations, and no active console session.
In the New Folder from Template dialogue, we have a card-view with four options:
- R Project
- Python Project
- Jupyter Notebook
- Empty
In the File Explorer:
- The
New Folderbutton label is changed toNew Subfolder
Welcome page
The Welcome page will be addressed separately but will follow a similar pattern of orienting around the New Folder from Template dialog.
Template Appendix:
We have future plans to add user-contributable templates in addition to our own pre-defined templates.
For contributable templates, see: https://github.com/posit-dev/positron/issues/3248 and https://github.com/posit-dev/positron/issues/3092
We also reserve the right to eventually replace a generic Python Project or R Project with variants such as:
Shinyor
Shiny
Python Project-- may eventually contain apyproject.tomlor other indicators of capital P Project-hood
Verified Fixed
Positron Version(s) : 2025.07.0 (Universal) build 65
OS Version : Sequoia 15.5
Test scenario(s)
- User is able to create a new folder from
R,Python,Jupyter, orEmptytemplate.