Thanks to visit codestin.com
Credit goes to github.com

Skip to content

design doc addition #386

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eleanorjboyd
Copy link
Member

No description provided.

@eleanorjboyd eleanorjboyd self-assigned this May 7, 2025
@eleanorjboyd eleanorjboyd requested a review from karthiknadig May 7, 2025 17:05
@eleanorjboyd eleanorjboyd marked this pull request as draft May 7, 2025 17:06
@eleanorjboyd
Copy link
Member Author

@karthiknadig this is a first draft on a doc outlining technical design of the envs extension api. Would love a first pass of feedback, fixing any misunderstandings I have and what I might be missing / over-explaining. I am also not sure about the placement, do we just want it as part of the README or is it better as a separate file?

@karthiknadig karthiknadig requested a review from cwebster-99 May 7, 2025 17:09
@cwebster-99
Copy link
Member

Haven't had a chance to fully read and review but this is great! Since it is rather comprehensive, I would suggest keeping it as a separate file and linking from the README or storing this as a Wiki page that we can direct to in the README

@eleanorjboyd eleanorjboyd requested a review from Copilot May 16, 2025 21:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a design documentation file outlining the Python Environments API for the VS Code extension.

  • Introduces comprehensive technical design details on environment management, package handling, and project creation.
  • Documents the interactions between various API components and the connection to the UI.



### Copilot Tooling
xxxx
Copy link
Preview

Copilot AI May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'Copilot Tooling' section currently contains a placeholder ('xxxx'). Please update this section with a meaningful description or remove it until the appropriate content is available.

Copilot uses AI. Check for mistakes.

Copy link
Member Author

@eleanorjboyd eleanorjboyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'Copilot Tooling' section currently contains a placeholder ('xxxx'). Please update this section with a meaningful description or remove it until the appropriate content is available.

@@ -0,0 +1,130 @@

# Python Environments API
The following helps describe the technical design of the Python Environments Extension for use mainly by contributing extension authors. This extension is the entry point which will surface the entire environment management experience for Python in VS Code and its modularity should allow for individual tools / libraries to implement these methods for their tool making them usable in VS Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following helps describe the technical design of the Python Environments Extension for use mainly by contributing extension authors. This extension is the entry point which will surface the entire environment management experience for Python in VS Code and its modularity should allow for individual tools / libraries to implement these methods for their tool making them usable in VS Code.
The following guide describes the technical design of the Python Environments Extension. Its intended use is mainly for contributing extension authors. This extension is the entry point which will surface the entire environment management experience for Python in VS Code and its modularity should allow for individual tools / libraries to implement these methods for their tool making them usable in VS Code.



## Functionalities of Extension & its API
The python environment extension has four main functionalities:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The python environment extension has four main functionalities:
The Python Environments extension has four main functionalities:


### Workspace and Environments
The relationship between **workspaces** and **environments** in the extension can be any of the following configurations:
| workspace | environment | description | example |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| workspace | environment | description | example |
| Workspace | Environment | Description | Example |

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

Successfully merging this pull request may close these issues.

2 participants