Skip to content

auto-find projects bugs / edits #305

@eleanorjboyd

Description

@eleanorjboyd

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?

Metadata

Metadata

Assignees

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