I can't get any form of interactive graph in VisualNDepend. There is only a black screen.
I'm using Visual NDepend v1.9.
I created a project, selected my sln and clicked on Run Analysis and Report. I was presented with several graphs in html but they were low-res. Nex to the graphs were this note:
It is recommended to use the NDepend interactive dependency Graph and interactive Dependency Matrix for an in-depth exploration of the actual architecture of your code.
I opened VisualNDepend and checked the Dependency Graph and Dependency Matrix tabs which were empty. I went back to dashboard tab and clicked Run Analysis on Current Project but the tabs still displayed nothing. At the bottom right there is a red circle which when clicked, shows analysis complete x mins ago.
How do I display any form of graphs with ndepend? I tried on several slns.
Thanks
My bad.
After going through every menu item, I found that I had to explicitly click on graph->view dependency graph and matrix->view dependency matrix to actually see the stuff.
Related
Directly after the upgrade to the latest version of Eclipse (4.23) the project explorer behaves abnormal. It shows the complete package path on every package hierarchy level.
The first image shows the abnormal view the second the expected view. As you can imagine with many hierarchy levels the view becomes quite confusing.
I've tried to change the package presantation, the project presentation and almost all other options in the project explorer view menu to no avail.
I assume this is a bug and will be fixed. Maybe someone has a workaround?
I want to write a ReSharper 8 plugin that will give a visual indication (icon maybe?) to the user in solution explorer panel if the number of projects in a solution exceeds a configurable amount.
Can a ReSharper plugin accomplish this or must I find another way? Must I create a SolutionComponent?
There's actually a set of things that you need to make this happen:
You need to add a visual element to be placed somewhere. I believe you can define an icon in Actions.xml, but as I understand, the solution explorer tool bar contains only buttons, though I could be wrong. An alternative approach would be to actually decorate the solution icon the way that source control plugins do. There are also other approaches, e.g. StatusBarIndicator.
A solution component is essentially some component that exists only while there's a solution loaded. What you need is different - a mechanism of monitoring solution changes and project model changes.
I'm working on some reflection stuff using Java across XML files. The process would be made much faster and less prone to error if I could get content assist to behave like a tree in a small window off to the side, but more than by my current cursor location.
My question is can this really be done without reinventing the wheel too much? Essentially I want to display a list of classes, choose a class, then drill down a TreeView similar to the outline view Eclipse has for a current open file and at some point I click a button below and it generates the desired XML formatted text I would have typed manually, this is generated based on whatever in the tree I have highlighted.
I've designed and begun work on the front and back end, but the piece that keeps eluding me is harnessing Eclipse's content assist to gather a list of practically anything I could possibly call in a given project.
Can this be done? I've been combing Eclipse's documentation for a few days and fighting with the source download dying halfway repeatedly.
I am not 100% if that's it but I had an eclipse plugin with spider in it's name in mind, which does what you described.
Maybe it is this one: http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=202
Furthermore when writing Eclipse plugins, it is useful to press ctrl+shift+f1 (eclipse plugin spy) once having worked in the pde this should be possible.
It shows you info about all possible extensionpoints refering to your current view.
Configuring Eclipse to look exactly how you want is a tough job I've found, therefore I'm not going to attempt to do this myself.
I'd like to 'zoom out' of the Package Explorer side bar? You see, I like only having my code on the screen with a small section for the files in the project - however I can never see the full path of the file or package I'm currently in because of this. Is there a way to keep the 'main screen' normal, but zoom out of the Package Explorer by about 50%?
Not an exact fit, but I would recommend using fast views
It minimizes your package explorer view, and you can recall it in order to display with a large size, for you to... explorer. Once you click anywhere outside the fast view, it disappear.
Note: to really gain as much space as possible, since Eclipse3.6M2, you can hide the fast view bar if empty.
i am making an eclipse plugin which make a ui on right clicking a project in eclipse workspce . the ui contains text fields , package explorer for the current project and directory explorer for current project.
i have successfully made a ui which appears on clicking a menu item on right clicking the project but it seems i can't make any jface or swt ui since they are not visible when we are using eclipse command hadlers .so in order to overcome it i made dialog pages but they have limited dialog like directorty dialog and file dialog and that too for entire window directory..... but i want package explorer and directory explorer for the project i just chose like it happens when u try making a new class in a project the browse buttons just show packages and directory struture w.r.t to current selection
am i doin things wrong or is there a way out please suggest .....
It seems a bit unclear to me, what the 'UI' is about. If you plan to embed the package and directory views inside a dialog next to each other, then I think you have to build similar lists on your own, since they are views with their own event logic. But if you plan to use them via the browse buttons as describes, take a look at this page. It gives a good overview of the available selection dialogs in eclipse.
It is also always a good practice to search for code in eclipse that does nearly the same you want to do.
As an example, take a look at the new class wizard from the jdt.ui plug-in (This is the wizard you mentioned in your question): Press Cmd-Shift-T and begin typing 'newclass' and open NewClassWizardPage from org.eclipse.jdt.ui.wizards. This works as expected if you imported all jdt plug-ins as (binary) projects.
Take a look at the createControl method and dive into the createXXXControls methods via F3 and try to find out how JDT is doing the job.
As an alternative, open the desired selection dialog class (again with Cmd-Shift-T) and open the call hierarchy of that class...