File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments