"Show uses" in CMake

Milian Wolff mail at milianw.de
Mon Apr 19 08:08:36 UTC 2010


Nicolás Alvarez, 19.04.2010:
> When looking at a CMakeLists.txt, moving mouse over a variable
> highlights the declaration and the other uses, Ctrl-clicking moves to
> the declaration (the first SET statement that gave it a value), and so
> does right clicking and selecting Show Declaration.
> 
> However, Show Uses gives zero results (doesn't even show the
> declaration, or the use I selected) and the Rename Variable feature
> only renames the selected use.
> 
> Since the yellow-background highlighting of uses works, it looks like
> the needed duchain information is being properly generated by the
> parser. Why does Show Uses not work?

PS: Doesn't work for PHP either, I'd be interested in the why as well.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100419/c5336969/attachment.sig>


More information about the KDevelop-devel mailing list