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

No location for python module #74

Open
kopp opened this issue Apr 24, 2021 · 0 comments
Open

No location for python module #74

kopp opened this issue Apr 24, 2021 · 0 comments

Comments

@kopp
Copy link

kopp commented Apr 24, 2021

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 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant