IntelliJ IDEA UML shortcut - intellij-idea

According to this page I can get UML model using "CTRL+ALT+U" shortcut.
But I cannot make it work in my instance of IDEA, Community Edition version 13.1.3

Possible steps:
1) Right click on a package from the project panel
2) Near the bottom of the popup, select "Diagrams" then "Show Diagram"
3) Hopefully you will see a class model of the package.

Diagrams are not available in the Community Edition.
Community vs Ultimate editions comparison.

Related

Where is the Persistence tool window in Intellij IDEA 15?

I want to generate model Class from mysql database, but I cannot find the persistence tool window which is easily searched in IDEA 14.
If you haven't included JavaEE Persistance when you created your project as #Freek de Bruijn suggested, you can go into:
File - > Project Structure - > Modules -> + -> "JPA"
That will enable persistence under Tool windows as well if, like me, you checked out your project from version control. Took me quite a bit of time to find that setting actually.
The persistence support is available in IntelliJ IDEA Ultimate Edition (and not in the Community Edition, I think). When you create a new project in for example IntelliJ IDEA 15.0.3 EAP (build 143.1453.5), the New Project dialog opens:
There you can for example select "Java Enterprise" in the left panel and "JavaEE Persistence (2.0)" in the "Additional Libraries and Frameworks" list. Now the Persistence panel can be opened via the View | Tool Windows | Persistence menu. The Persistence panel is visible here in the bottom left part:
Echoing what #0x6C38 said here.
File-> Project Structure -> Modules -> + then type in JPA.
Then you will have it in the Tool Windows.
If the persistence tool window is not visible then maybe it will help to add the Framework Support with this:
In the project window. Right click at the name then 'Add Framework Support...'
Enable here the JPA support.

Intellij Idea Missing Diagram Context Menu [duplicate]

According to this page I can get UML model using "CTRL+ALT+U" shortcut.
But I cannot make it work in my instance of IDEA, Community Edition version 13.1.3
Possible steps:
1) Right click on a package from the project panel
2) Near the bottom of the popup, select "Diagrams" then "Show Diagram"
3) Hopefully you will see a class model of the package.
Diagrams are not available in the Community Edition.
Community vs Ultimate editions comparison.

CodeLens style in-context information in IntelliJ IDEA

For a while now, newer versions of Visual Studio have been able to display in-line information for methods, fields etc relating to how many times they may have been referenced or changed and who changed the code last. This feature is known as CodeLens.
Is there any plugin or feature in IntelliJ IDEA similar to this that would be able to display information on an individual class/field/method basis?
(22-Aug-2022 updated) The hints from git blame are also available in the latest IntelliJ IDEA.
==================
(For CodeLens function references feature) Now it's a built-in feature after version IntelliJ IDEA 2020.1.
You can enable it from:
Ref: https://blog.jetbrains.com/idea/2020/03/intellij-idea-2020-1-beta2/
There is no such plugin (yet).
You can of course right click the left gutter (gray editor to the left of the editor) and select "Annotate". That gives you at least the last edit per line.
More similar to your desired feature (but unfortunately not inline):
Select some text (e.g. a method), then right-click Git -> Show History for Selection.
Now there is JetBrains plugin named GitToolBox.
It has some similar functionality, including the current line "blame annotation" at the end of the line with detailed commit information:
This feature is available for Rider, but not for IntelliJ yet.
In Rider it's called Code Vision
You can vote for this feature request in IntelliJ IDEA here

How to visualize revisions graph in IntelliJ (Mercurial)

I am new to IntelliJ and simply can't find the revisions graph for a Mercurial project in IntelliJ.
Actually found it myself and it is a little tricky to find.
Go to View > Tool Windows > Changes
or click Command + 9 in Mac
There you will find a tab called Log which gives you the graphical view.
you need the plugin hg4idea although I don't remember it having a nice pretty graph of commits, just a history.
Try sourcetree or tortoisehg, for a graph.

How to build project-wide UML diagram in IntelliJ IDEA?

Trying to reverse-engineer existing project and it would be of great help to see how classes collaborate/depend on each other. Is there a way to build project-wide UML diagram (or class diagram of any kind) in IntelliJ IDEA using build-in functionallity or using some free plugin?
Right click on your package no matter which. Click Diagrams > Show Diagram (Ctrl+Alt+Shift+U). You will see your package in diagram editor.
Now:
You can expand (E) or collapse (C) all nodes.
You can show dependencies
You can show many attributes of nodes (constructors, methods, properties...)
You can drag&drop other packages from project explorer.
So, play with it a bit and i think you will achieve what you need.
This is how it could looks like: