-
Notifications
You must be signed in to change notification settings - Fork 29
Folders Doc #105
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
Folders Doc #105
Changes from 4 commits
2afc874
1ac18c7
f748bb4
91c6ed9
5fc2135
7a3862b
15bed36
468aa40
86aea6f
f7296b7
0d04e99
2483b9f
3764e38
f375bd5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,51 @@ | ||||||||||||||||
| --- | ||||||||||||||||
| title: "Folder Templates" | ||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## New folder from template | ||||||||||||||||
|
|
||||||||||||||||
| The "New Folder from Template" feature helps you quickly setup a a folder with an environment using a predefined template for a language or framework. | ||||||||||||||||
|
||||||||||||||||
|
|
||||||||||||||||
| To create a new folder from one of the available templates in Positron, select the "New" dropdown menu in the top-left or the workspace switcher in the top-right. Select the "New Folder from Template" option to bring up the dialog. | ||||||||||||||||
|
||||||||||||||||
|
|
||||||||||||||||
| ### Select a template | ||||||||||||||||
|
|
||||||||||||||||
| When you open the **New Folder from Template** dialog, you will see a list of available templates. | ||||||||||||||||
|
|
||||||||||||||||
| Choose a template that best matches the language or framework for the work you are doing. The "Empty Project" option allows you to create a blank folder with no additional files or configuration. | ||||||||||||||||
|
|
||||||||||||||||
| After you select a template, enter a name for your new folder and choose a location on your system. You can check the **Initialize Git repository** box if you want to create a Git repository in the new folder. Select **Next** to continue to template-specific configuration options. | ||||||||||||||||
|
|
||||||||||||||||
| ### Python templates | ||||||||||||||||
|
|
||||||||||||||||
| When you select a Python template, the dialog guides you through setting up your Python environment. This ensures your project starts with the right tools and interpreter for your work. | ||||||||||||||||
|
|
||||||||||||||||
| **How would you like to set up your Python environment?:** | ||||||||||||||||
| - **Create a new virtual environment:** Recommended for most users. This option creates an isolated environment for your project, which helps avoid conflicts with other Python projects on your system. | ||||||||||||||||
| - **Use an existing environment:** Choose this if you already have a Python environment you want to use. | ||||||||||||||||
|
||||||||||||||||
| **How would you like to set up your Python environment?:** | |
| - **Create a new virtual environment:** Recommended for most users. This option creates an isolated environment for your project, which helps avoid conflicts with other Python projects on your system. | |
| - **Use an existing environment:** Choose this if you already have a Python environment you want to use. | |
| **How would you like to set up your Python environment?:** | |
| - **Create a new virtual environment:** Recommended for most users. This option creates an isolated environment for your project, which helps avoid conflicts with other Python projects on your system. | |
| - **Use an existing environment:** Choose this if you already have a Python environment you want to use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching that! I think I might revisit the format of this section generally
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also note that Positron will start up the chosen interpreter automatically?

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we like this title but I wanted to keep it generic for when we eventually add more templates (built-in or even user supported). Not in love with this title so I'm open to ideas.
The doc feels a little incomplete to me but I can't figure out what's missing...