Re: [CEDET-devel] COGRE and source code navigation
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2010-03-18 01:57:45
|
On 03/17/2010 06:55 AM, Ed Liversidge wrote: > Hello, > > I love the idea of using COGRE in Emacs to display class diagrams and > navigate the source code. However, I am having a few problems that I > hope you can help me with. > > 1) I create a class diagram from the source code. But when I select a > function using the enter key, I see “Edit object #<cogre-class > ClassName>” along with position/package-name/attribute settings rather > than the source code. How do I get this to display the source. Hi, Zoiks! It appears that feature was removed when I added all the fancy mouse interactions and rebuilt the automatic UML diagram generator and never got put back in. I've checked in a small change adding a keybinding and context menu for jumping from a node to a class. > > 2) I can create two diagrams using cogre-uml-quick-class, but how do I > then combine them into one diagram? I really want one diagram with all > my classes in it. The original layout engine was a bit lame, and only handled 3 levels. The new layout engine is much better, but the generator is still only does the 3 levels after I moved the code around. I don't think it would be hard to get this fixed up, but no one has taken the time to do it. I do think this is a big missing feature. Or rather, do you just want to merge two graphs together? You can Kill and Yank nodes around. I hadn't tried doing so between diagrams. I do know you can "copy" a class out of a source file and "yank" it into a graph. That's pretty cool to do. Eric |