Finding the declaration of a variable in Emacs
Finding the declaration of a variable in Emacs
Posted Sep 7, 2018 10:57 UTC (Fri) by nix (subscriber, #2304)In reply to: Finding the declaration of a variable in Emacs by giraffedata
Parent article: C considered dangerous
You can have Semantic / CEDET show you the definition of the symbol under point after a short delay in the echo area via semantic-idle-local-symbol-highlight-mode, also enableable globally for all buffers, and automatically via adding global-semantic-idle-local-symbol-highlight-mode to semantic-default-submodes.
Doing this for non-local symbols requires CEDET to know how to locate things in your project, which usually happens more or less automatically, particularly if you use etags or GNU GLOBAL.
