Add Python Environments report issue command#525
Merged
eleanorjboyd merged 5 commits intomainfrom Jun 13, 2025
Merged
Conversation
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add python environments to report issue command
Add Python Environments report issue command
Jun 11, 2025
|
|
||
| try { | ||
| // Extension version | ||
| const extensionVersion = context.extension?.packageJSON?.version || 'unknown'; |
Member
There was a problem hiding this comment.
would be useful to get the version of the python extension too
Contributor
Author
There was a problem hiding this comment.
Added Python extension version to the report issue output in commit fd9b8c9. The function now collects both the Python Environments extension version and the Python extension version to help with debugging compatibility issues.
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
| info.push(`Extension Version: ${extensionVersion}`); | ||
|
|
||
| // Python extension version | ||
| const pythonExtension = extensions.getExtension('ms-python.python'); |
Member
There was a problem hiding this comment.
@karthiknadig ideas on other info we need that will be useful? Still need test everything it is getting here but wanted to get your thoughts on if there is any info I can add
Member
Example |
justschen
approved these changes
Jun 12, 2025
karthiknadig
approved these changes
Jun 12, 2025
auto-merge was automatically disabled
June 13, 2025 17:53
Pull request was closed
NguyenCuong1989
referenced
this pull request
in NguyenCuong1989/vscode-python-environments
Oct 23, 2025
This PR adds a "Python Environments: Report Issue" command that integrates with VS Code's built-in issue reporter, similar to the existing "Python : Report Issue" and "Python Debugger : Report Issue" commands. ## Changes Made ### Command Registration - Added `python-envs.reportIssue` command to `package.json` - Added localized title "Report Issue" to `package.nls.json` ### Implementation - Created `collectEnvironmentInfo()` helper function that automatically gathers: - Extension version - Registered environment managers (id and display name) - Available Python environments (up to 10 listed with total count) - Python projects and their assigned environments - Current extension settings (non-sensitive data only) - Integrated with VS Code's `workbench.action.openIssueReporter` command - Formats collected information in markdown with collapsible details section Fixes #162. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a "Python Environments: Report Issue" command that integrates with VS Code's built-in issue reporter, similar to the existing "Python : Report Issue" and "Python Debugger : Report Issue" commands.
Changes Made
Command Registration
python-envs.reportIssuecommand topackage.jsonpackage.nls.jsonImplementation
collectEnvironmentInfo()helper function that automatically gathers:workbench.action.openIssueReportercommandFixes #162.