Did you know that IntelliJ IDEA 11 Diff Tool supports some of binary contents? Now, it’s not a problem to see changes from file history or a change list. Every binary content you’re able to open in IntelliJ might be compared in Diff Tool: UML diagrams, SWF files, of course images, and much, much more.
Posts Tagged ‘UML’
Ultimate Edition of IntelliJ IDEA provides an additional way of inspecting the project structure — the diagram of module dependencies. To open it just press Ctrl+Alt+Shift+U or invoke Diagrams | Show Diagram from the context menu on a module node in Project View or Navigation Bar.
IntelliJ IDEA 11 adds the ability to edit module dependencies using the diagram: press Delete on an edge to remove dependency or press Alt+Insert to add a new one.
Your feedback is very welcome, as usual.
Anyone working on large Maven projects knows well about how hard it is to keep in mind all the dependencies between modules and libraries; and even harder, to resolve conflicts between them. We’ve greatly improved Maven Dependencies Diagram to make this whole thing a lot simpler.
If you’re a lucky owner of IntelliJ IDEA 9 Ultimate Edition, you’ll be surprised to find a new action in VCS History panel: view all changes made in commit in a single dialog. This feature makes it simpler to understand what a commit author made in his change.
To start using this feature, invoke Show History action for any file, then select revision you’d like to investigate, and then click UML icon (or press Control+Shift+D).
This opens the following diff dialog:
As you can see, 3 changes are made in layout.properties, Rounded interface and RoundedButton class. By default, green color marks what was added, blue is for changed, and gray, guess what — deleted. Well, what else can we see here? RoundedButton class doesn’t extend JComponent and does not implement ButtonModel interface anymore, but instead it extends AbstractButton class and implements MouseListener and KeyListener interfaces. Also, author has changed method paint and removed method isPressed. Interface Rounded was added from scratch and some properties were modified, added and removed in layout.properties file. Double click on a node shows standard diff dialog.
You will be able to enjoy this UML-like Diff Tool in next EAPs and also in the nearest IntelliJ IDEA 9 update.
In Maia you can quickly analyze Spring Bean dependencies: just press Ctrl+Alt+Shift+U while editing Spring application context or invoke pop-up menu on a Spring bean. The quick pop-up view displays selected bean with all its dependencies (including external files), to which you can easily navigate by double-clicking diagram elements.
Click thumbnail to view larger image.
When you have changes in several files or classes and want to see what they affect, you typically use the Changes tab and then Show Diff action for every affected file or class. In Maia, you will be able to see the complete picture at once, via UML Class Diagram. It is improved to allow viewing and highlighting of changed and removed classes, methods, fields and so on when you press Ctrl+Alt+Shift+D.