From: Eric M. Ludlam <eric@si...> - 2008-09-27 16:54:30
Last week I had checked in a feature based on an email discussion
which was not CC'd to the list.
A common feature question was, for C/C++ why semantic-ia-fast-jump
always goes to a prototype, and not to the implementation. The reason
is because of the way searches are optimized to only the include file
list. Trying to find the implementation for a prototype turned out to
be a bit tricky to get right, especially with namespaces and such
I've put a new analyzer library together to try and solve this
problem. I added a very simple user interface to with the command
semantic-analyze-proto-impl-toggle. Bind this to a key, and press it
to jump between a prototype and its implementation.
It works ok in my test directories, but I haven't had much
opportunity to test it beyond that. If it doesn't work the first
time, you may need to try `semanticdb-dump-all-table-summary' and make
sure the right directories and tables had been loaded. The idle work
tasks should automatically pick up all the files needed, but it
depends on the breadth of your project.
If it still doesn't work, let me know with any repro steps, and we
can start working out how to debug and get this thing working
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net