Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

No location for python module #74

@kopp

Description

@kopp

If I open a python module (e.g. a file conf.py which shows up as module conf) and try to use Show Definition for the module, I get the error

CodeController.cpp:333 handleMessage() | ERROR: MessageCodeShowDefinition did not contain a nodeId with location files.

printed to command line. If I use Show Definition for any of the variables defined in the module, I can see the correct location (it opens correctly in the "IDE" view to the right).

So I guess that the python indexer is just missing to add the source location (maybe first line of the file) when looking through the module.

I do not know whether this is intentional or not, it is surprising for me :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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