Skip to content

auto-find projects bugs / edits #305

Closed

Description

in create function:

  • src/features/creators/autoFindProjects.ts
  • if (filtered.length === 0) { line 80ish (same with line 88ish)
    • This should have some way to notify the user so they understand what happened and that no projects were found.

in addPythonProject function:

  • src/features/envCommands.ts
    already made the edit to add
    if (
        resource instanceof ProjectPackageRootTreeItem ||
        resource instanceof ProjectPackage ||
        resource instanceof ProjectEnvironment
    ) {
        await addPythonProject(undefined, wm, em, pc);
    }

but I think it needs even more refinement. Might be worth trying if its not a recognized resource then we re-call with undefined so we don't have to handle so many exceptions?

Activity

  1. eleanorjboyd commented on May 1, 2025

    @eleanorjboyd
    MemberAuthor
    1. open workspace with no pyproject.toml
    2. click folder icon in projects view to add new project
    3. select "auto find projects"
    4. make sure you see a notification that no projects were found
  2. locked as resolved and limited conversation to collaborators on May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions