2 Jan 2007 17:34
Wishlist item: header / source switch with symbol lookup
Arne Schmitz <arne.schmitz <at> gmx.net>
2007-01-02 16:34:23 GMT
2007-01-02 16:34:23 GMT
Is it possible to supply a function in ECB that switches from a .h header file to the .c or .cc file and also jump to the definition of the function the cursor was at? I already have a very handy c-switch-to-header function from the web. Now I only need to spice it up to get the current symbol from semantic and try to find that in the .c file. Arne -- -- Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817 Computer Graphics Group Fax +49 (0)241 80-22899 RWTH Aachen University http://www.rwth-graphics.de Ahornstrasse 55, 52074 Aachen, Germany
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Ecb-list mailing list Ecb-list <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecb-list


i will try to answer you next weekend...
Klaus
Hadron wrote:
> I have the following:
>
> (defun ecb-init()
> (interactive)
> (unless winring-initialized
> (ecb-minor-mode 0)
> (ecb-winman-winring-enable-support)
> (winring-initialize)
> )
> )
>
> (defun ecb-window-configuration ()
> (if(derived-mode-p 'c-mode)
> (ecb-activate)
> ))
>
> ;;(add-hook 'window-configuration-change-hook
> 'ecb-window-configuration)
>
> The problem is that if I call ecb-init from my .emacs, ecb frames
> still come up. I can call it from manually after emacs has loaded and
> it doesnt.
>
RSS Feed