Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 676705a

Browse files
authored
bug fixes autoFindProjects (#405)
fixes microsoft/vscode-python-environments#398
1 parent f32c2af commit 676705a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/features/creators/autoFindProjects.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ export class AutoFindProjects implements PythonProjectCreator {
5454
public readonly displayName = ProjectCreatorString.autoFindProjects;
5555
public readonly description = ProjectCreatorString.autoFindProjectsDescription;
5656

57+
supportsQuickCreate = true;
58+
5759
constructor(private readonly pm: PythonProjectManager) {}
5860

5961
async create(_options?: PythonProjectCreatorOptions): Promise<PythonProject | PythonProject[] | undefined> {
60-
const files = await findFiles('**/{pyproject.toml,setup.py}');
62+
const files = await findFiles('**/{pyproject.toml,setup.py}', '**/.venv/**');
6163
if (!files || files.length === 0) {
6264
setImmediate(() => {
6365
showErrorMessage('No projects found');

0 commit comments

Comments
 (0)