Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add symbol/classes to graph #15

Open
smalltimepro opened this issue Nov 13, 2020 · 3 comments
Open

Unable to add symbol/classes to graph #15

smalltimepro opened this issue Nov 13, 2020 · 3 comments

Comments

@smalltimepro
Copy link

Hi, Installed the extension from marketplace for 2019 and ran for solution and projects seperately for c# coding. Ananlysis runs and saves file but no graph is created except for the projects. Have tried many times with variation. unable to click and add any method/class/symbol to graph even manually.

@league1991
Copy link
Owner

league1991 commented Nov 16, 2020

@smalltimepro
Please check if there is anything below the CodeGraphData\Result_solution\xml folder.

If it's empty, that means something wrong happened during analysis process.
If not, that means the analysis process actually succeeded, symbols should be shown when you place the cursor on a function/class and press Alt+F.

@thelazydogsback
Copy link

thelazydogsback commented Nov 30, 2020

I'm having the same problem -- analysis looks ok (tons of XML files generated) but the only graph items that have any information or are connected in any way are the two projects. If a use "sync w/editor" or ALT-F or "Show in graph", then an item will be generated in the graph for the item, but it is alone/orphaned in the graph and not connected to anything and has no information -- there don't seem to be any relationships between any entities. For example, "find callers" or "find calees" does nothing.

Ah, I just saw this:
"I usually work on C++ and the support of C# is incomplete. Theoretically it's possible because doxygen should support C# interface. I'll do that later."

If this is the case, you should probably display a warning to the user when a .CS project is analyzed.
I wonder if Doxygen understands the latest C# 8 (and now C# 9) syntax -- it could be that it just generates partially bad data for modern C# files?

@league1991
Copy link
Owner

@thelazydogsback I think it is because of the limited capability of doxygen. It can't dig out the relationship sometimes, even for C++. I am afraid you have to add the edges indicating the relationships manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants