You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move packages to top level under each environment (#435)
## Problem
Currently, in the Python Projects sidebar view, packages are nested
under an extra "Packages" dropdown under each environment, creating an
unnecessary level of nesting:

## Changes
This PR removes the intermediate "Packages" dropdown and shows packages
directly under each environment:
- Modified `ProjectView.getChildren()` to skip the PackageRoot level
- Updated `ProjectPackage` constructor to accept a `ProjectEnvironment`
parent
- Updated package refresh logic to work with the new structure
- Updated command handlers in `envCommands.ts` to handle the modified
package structure
- Updated menu condition in `package.json` to attach refresh command to
environment nodes
After this change, users can access installed packages with just one
expansion from the environment level, which improves the user experience
by reducing clicks and making the structure more intuitive.
Fixes#330.
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Co-authored-by: karthiknadig <3840081+karthiknadig@users.noreply.github.com>
0 commit comments