Skip to content

Commit defe6cc

Browse files
authored
Merge branch 'main' into add-workspace-to-project
2 parents 3f41a54 + a93d2bc commit defe6cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)