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 :)
If I open a python module (e.g. a file
conf.py
which shows up as moduleconf
) and try to use Show Definition for the module, I get the errorprinted 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 :)