Skip to content

There is no warning on error list when imported module cannot be found. #8558

Description

@linette-zyy

Environment
Build of Visual Studio: 18.9.0 Canary [11916.297.main]
Build of Python Package: 18.0.26168.3
Version of Pylance: 2025.12.104
OS version: Windows 11 Enterprise, version 25H2

Steps to Reproduce

  1. Create a python application project
  2. Type import xxxxxxxx which doesn’t exist in default opened file PythonApplication12.py
  3. Green wave-underline is expected under xxxxxxxx
  4. Check that there is a warning about no such module in Error List Window

Expected behavior
Green wave-underline is expected under xxxxxxxx and there is a warning about no such module in Error List Window.

Additional context and screenshots
There is no warning on error list.
Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions