Hello,
is there a convinient way to search for function calls when e.g. highlighting the function definition? I searching something like the CDT indexer for PyDev.
Thanks!
Cledith
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your quick reply. When hitting Strg+G nothing happens at all, whether I highlight any function/ class or its definition or whatever.
If I hit Strg an move my mouse over a function (callee), the function becomes underlined and if the definition of the function/ class is not "too far" from the place I am, the editor goes to the definition of the very same function. Although this only seems to work partly, it's not what I looking for. To clear things up, I am at a definition of e.g. a function or class and would like to get places displayed, where this function is called. I am not sure, whether you pointed me to that direction or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure, but is it, what you mean Strg+Alt+G? It searches in the workspace for the highlighted string. I was hoping that Eclipse can pair definitions of functions and their function calls, so that the editor directs you directly to the function call and not just a string, which looks alike.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In pydev extensions, ctrl+shift+g should search for the actual references... it does a basic text search 1st to gather possible references and then uses type inference to see if those map to the function you want (ideally it would have a faster cache so that it doesn't need the 1st step, but it usually only a bit slow the 1st time you use it).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
is there a convinient way to search for function calls when e.g. highlighting the function definition? I searching something like the CDT indexer for PyDev.
Thanks!
Cledith
Pydev extensions ( http://fabioz.com/pydev ) has go to definition (F3) and a symbols browser for all the projects (ctrl+shift+T)
Cheers,
Fabio
Oops, sorry what you wanted is also there, but it's not what I mentioned before... you can have Ctrl+G to find the references to a function/class.
Cheers,
Fabio
Thanks for your quick reply. When hitting Strg+G nothing happens at all, whether I highlight any function/ class or its definition or whatever.
If I hit Strg an move my mouse over a function (callee), the function becomes underlined and if the definition of the function/ class is not "too far" from the place I am, the editor goes to the definition of the very same function. Although this only seems to work partly, it's not what I looking for. To clear things up, I am at a definition of e.g. a function or class and would like to get places displayed, where this function is called. I am not sure, whether you pointed me to that direction or not.
Sorry, try ctrl+shift+G
I am not sure, but is it, what you mean Strg+Alt+G? It searches in the workspace for the highlighted string. I was hoping that Eclipse can pair definitions of functions and their function calls, so that the editor directs you directly to the function call and not just a string, which looks alike.
In pydev extensions, ctrl+shift+g should search for the actual references... it does a basic text search 1st to gather possible references and then uses type inference to see if those map to the function you want (ideally it would have a faster cache so that it doesn't need the 1st step, but it usually only a bit slow the 1st time you use it).
Cheers,
Fabio
Thanks. I'll try it.