Skip to content

Developer: IDE-friendly function matching for comInterfaces fails and the IDE cannot find the definition. #17608

@hwf1324

Description

@hwf1324

I'm not sure if this has anything to do with the change in comtypes between 1.2.0 and 1.4.6?
Maybe they changed the import of the generated file?

Steps to reproduce:

  1. Run scons source
  2. Run code .

Actual behavior:

The IDE could not find a definition related to comInterfaces.
In VS Code:
For example, F12 in source\UIAHandler\__init__.py could not find the definition of UIA.UIA_FrameworkIdPropertyId.
No autocomplete etc.

Expected behavior:

The IDE can find definitions related to comInterfaces.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

Windows version:

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Irrelevant.

Have you tried any other versions of NVDA? If so, please report their behaviors.

Irrelevant.

If NVDA add-ons are disabled, is your problem still occurring?

Irrelevant.

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Irrelevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    audience/nvda-devPR or issue is relevant to NVDA / Add-on developersp5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions