I've moved from Eclipse to IntelliJ IDEA and I like the its responsiveness.
In Eclipse I use ObjectAid to assist in designing my application structure. IntelliJ IDEA does have a UML diagram but it got really annoying when it keeps re-adjusting my diagram layout to what it thinks is a neat structure. Everytime I add/remove a class, it will re-adjust the layout. It may look neat, but it makes little sense to me. I like to manually place my class model in the exact place I leave it. Why oh why does IntelliJ think it knows best? Can I change this behavior? I can't find any settings in the settings menu.
You can disable this behaviour in the preferences under "Tools" -> "Diagrams". There is an option "Do relayout when new elements were added" which you need to disable.
Note: IntelliJ 2016.3
Related
I love IntelliJ IDEA, because it's conveniences of keyboard input and quick search, you can search almost everywhere, just input directly in the view and popups, like it's quick outline, search files, project struct and so on. It's fuzzy search is quick and powerful.
Context menu so powerful and frequently used, but there's no quick search. And I get used to keyboard input and ideavim plugin now, it's a good plugin. but the context menu makes me feeling so bad.
So, is there any way to do that? Making it searchable like quick fix, quick outline.
There is a related feature request, feel free to vote.
Right now you can create your own quick lists with the actions you need. Quick lists have the shortcuts by default.
It's about something similar to the ReSharper feature "Go to Next/Previous Member", but inside IntelliJ (not this similarly named question)
The Alt+Up/Down in IntellJ is by default mapped to "Previous/Next Method", so it skips member variables, whereas ReSharper maps that to "Next/Previous Member", which obviously steps over everything, including fields and properties.
Is there any solution for IntelliJ to mimic ReSharper's feature, perhaps through a plugin or anything else?
This feature has been implemented and reverted because of negative feedback (https://youtrack.jetbrains.com/issue/IDEA-107538).
This behavior can still be turned on by adding to "Help | Edit custom VM options":
-Dide.structural.navigation.visit.fields=true
I'm switching from Flash Builder to IDEA, and I've find that there is something I don't have, that is the ability to see the method annotations (/** **/) when you hover over it. I didn't find a way to do it, I just can't see any info regarding that.
Any IDEAs?
My bad, this is not really insellisense related, anyway the solution is this:
"File -> Settings -> Editor, there is a check box called "show quick doc on mouse move""
Found it here: IntelliJ IDEA mouse over method show Java Doc
I'm using the Darcula theme in Intelli IDEAJ because it is easier on the eyes, but it seems to only affect the editor.
It really doesn't do much for me, since everything else (menus, etc.) are unaffected and contrast harshly.
Is there a way for me to change these as well?
I believe I saw someone do this once, but I may have been mistaken and looking at another IDE.
Quickest way: View menu -> Quick Switch Scheme -> 5. Switch Look and Feel -> Darcula
You need to also change Appearance theme in Preferences.
(It's confusing that changing the theme doesn't actually change the theme in the whole IDE.)
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: