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?
in
createfunction:src/features/creators/autoFindProjects.tsif (filtered.length === 0) {line 80ish (same with line 88ish)in
addPythonProjectfunction:src/features/envCommands.tsalready made the edit to add
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?