In Eclipse it is possible to show the active shortcuts with CTRL+Shift+L.
List of shortcuts (depending on the context):
Is there something similar in IntelliJ?
No, there is no such feature in IntelliJ IDEA. It could be implemented as a plugin, but as far as I'm aware such a plugin does not exist.
You may install this intellij plugin :
https://plugins.jetbrains.com/plugin/?id=2391
Actually the best solution for me was Ctrl+Shift+A. Then just type the desired action and you will see the shortcut or you can execute the action.
Example (call hierarchy):
Related
I am working on an Intellij Plugin. When a button is pressed I would like to have the project save itself(like when the user modifies code) before the plugin executes. I can't seem to find a way to do this
Use FileDocumentManager.getInstance(project).saveAllDocuments().
You can use ApplicationManager.getApplication().saveAll();
In WebStorm I can type something like
document.gEBI
press tab key, and it'll autocomplete to
document.getElementById()
But when I do the similar thing in IntelliJ
fmt.Prl
Auto completion doesn't work (the desired result fmt.Println()) at all, it works only if all the letters match strictly in order.
Is it possible to enable this functionality in IntelliJ? I've imported all the settings from WebStorm.
These Tab key shortcuts aren't part of the auto-complete system the Jetbrains use for all their IDEs as LazyOne says, they are actually part of the template-invocation system.
The auto-complete functionality is built into the shortcut: Ctrl+Space.
I suggest looking up the template invocation for .Println() in the settings, Jetbrains documentation, or raising a ticket with Jetbrains on YouTrack for clearer documenation/control over template-invocation.
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
I'm looking for a webstorm plugin that would help me remember keyboard shortcuts. I know for a fact that this plugin exists for IntelliJ, it displays the right-shortcut every time we perform an action without using shortcuts, but I didn't find any thing like this for webstorm?
If you know (and understand) what I'm talking about, can you tell me what plugin could help me with it?
Thanks for your time,
Fabien
Key Promoter plug-in is compatible with WebStorm, you can also use Help | Find Action and type the action name, shortcut will be displayed on the right.
I want to programmatically rerun(There is a command for this also you can use ctrl-f5) Below is a picture of rhis button in idea
So how I can run this action by myself?
from the answer on intellij idea development forum
Hi Evgeniy,
You should use ExecutionManager.restartRunProfile() for that.
Default IJ implementation achieves that via RestartAction (the one from your screenshot).
Denis