Skip to content

Add folder and Zip Archive to Search Path are not working. #8597

Description

@linette-zyy

Environment
Build of Visual Studio: 18.10.0 Canary [12027.280.main]
Build of Python Package: 18.0.26209.1
Version of Pylance: 2026.2.109
OS version: Windows 11 Enterprise, version 25H2

Steps to Reproduce

  1. Create a new folder and add a new file named Module2.py
  2. Input code in Module2.py
def summizing(title: str, mock: bool):
    pass

def addcross(a: int, b: int):
    a = a+1
    b = b+1
    return a * b
  1. Open a new python application and right click Search Paths, choose "Add Folder to Search Paths"
  2. Choose the folder which include Module2.py

Expected behavior
Type "from", the module2 should in completion list.

Additional context and screenshots
Module2 is not in completion list.
Image
Add to Zip Archive to Search Path is also not working.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions