Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ability to track the user selected Environment#25090

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DonJayamanne merged 4 commits intomainfromdon/delighted-gazelle
May 20, 2025

Conversation

DonJayamanne
Copy link

@DonJayamanneDonJayamanne commentedMay 20, 2025
edited
Loading

@DonJayamanneDonJayamanne added no-changelogNo news entry required skip package*.jsonpackage.json and package-lock.json don't both need updating skip testsUpdates to tests unnecessary skip-issue-check labelsMay 20, 2025
): Promise<
| {
environment: EnvironmentPath;
reason: 'globalUserSelected' | 'workspaceUserSelected' | 'defaultRecommended';
Copy link
Author

Choose a reason for hiding this comment

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

Providing the reasons why an environment is recommended.

@@ -28,6 +33,9 @@ export class PythonPathUpdaterService implements IPythonPathUpdaterServiceManage
let failed = false;
try {
await pythonPathUpdater.updatePythonPath(pythonPath);
if (trigger === 'ui') {
Copy link
Author

Choose a reason for hiding this comment

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

I believe this is the right spot for tracking what env is selected by the user.

@@ -67,7 +66,6 @@ export class InstallPackagesTool implements LanguageModelTool<IInstallPackageArg
for (const packageName of options.input.packageList) {
await installer.installModule(packageName, resourcePath, token, undefined, { installAsProcess: true });
}
trackEnvUsedByTool(resourcePath, environment);
Copy link
Author

Choose a reason for hiding this comment

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

Old code no longer required

@DonJayamanneDonJayamanne marked this pull request as ready for reviewMay 20, 2025 00:38
@vs-code-engineeringvs-code-engineeringbot added this to theMay 2025 milestoneMay 20, 2025
karthiknadig
karthiknadig previously approved these changesMay 20, 2025
@DonJayamanneDonJayamanne merged commitd7a5ab7 intomainMay 20, 2025
85 checks passed
@DonJayamanneDonJayamanne deleted the don/delighted-gazelle branchMay 20, 2025 01:10
anthonykim1 pushed a commit to anthonykim1/vscode-python that referenced this pull requestJun 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rebornixrebornixrebornix approved these changes

@karthiknadigkarthiknadigkarthiknadig approved these changes

Assignees

@DonJayamanneDonJayamanne

Labels
no-changelogNo news entry requiredskip package*.jsonpackage.json and package-lock.json don't both need updatingskip testsUpdates to tests unnecessaryskip-issue-check
Projects
None yet
Milestone
May 2025
Development

Successfully merging this pull request may close these issues.

3 participants
@DonJayamanne@rebornix@karthiknadig

[8]ページ先頭

©2009-2025 Movatter.jp