Show project dependency files in Project View - #1786
Draft
Eduardo Villalpando Mello (edvilme) wants to merge 7 commits into
Draft
Eduardo Villalpando Mello (edvilme) wants to merge 7 commits into
Eduardo Villalpando Mello (edvilme) wants to merge 7 commits into
Conversation
Eduardo Villalpando Mello (edvilme)
force-pushed
the
project-setup-file
branch
from
September 15, 2026 17:31
be3c245 to
a2409d1
Compare
Contributor
Author
Contributor
Author
|
Copilot resolve the merge conflicts in this pull request |
Copilot started work on behalf of
Eduardo Villalpando Mello (edvilme)
September 16, 2026 22:36
View session
Co-authored-by: edvilme <5952839+edvilme@users.noreply.github.com>
Copilot started work on behalf of
Eduardo Villalpando Mello (edvilme)
September 16, 2026 22:43
View session
Co-authored-by: edvilme <5952839+edvilme@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.
Contributes to #1042
This pull request introduces enhancements to the Python project management features, focusing on improved project dependency file detection and UI representation. The main changes include adding the ability for Python projects to discover their dependency files (like
requirements.txt,pyproject.toml,requirements.in, orenvironment.yml), updating the tree view to display these files, and minor refactoring for clarity and consistency.Python project dependency file detection and UI improvements:
discoverDependencyFilesmethod to thePythonProjectinterface and implemented it inPythonProjectsImpl, allowing detection of common dependency files at the project root or when the project URI points directly to a dependency file. [1] [2] [3]ProjectViewandtreeViewItems.ts) to display the detected dependency file throughProjectDependencyFileas a child node under each project, with a command to open the file in the editor. [1] [2] [3] [4]API and data model updates:
needsInstallationproperty to thePackageInfointerface and implemented it inPythonPackageImpl, defaulting tofalse. [1] [2]PythonProjectManagerand related files. [1] [2] [3] [4] [5] [6] [7] [8]Test and formatting improvements:
Added focused coverage for dependency-file discovery and the
ProjectDependencyFiletree item inprojectDependencyFiles.unit.test.tsandtreeViewItems.unit.test.ts.Refactored test imports and improved assertion formatting for clarity in
newScriptProject.unit.test.ts. [1] [2] [3] [4] [5] [6]These changes collectively enhance the user experience by making project dependency files more discoverable and accessible, and improve the maintainability of the codebase.