How to remove usage tip in Intellij - intellij-idea

In Intellij,there is usage button.
How can I remove it? I try to google it but can't find any solution

You can hide Usages by disabling it in the IDE settings
⌘ + , (macOS), or Ctrl + Alt + S (Windows/Linux)
Then navigate to:
Editor > Inlay Hints > Code Vision > Usages.
and untick the checkbox

Related

IntelliJ go back after Command + Click

For IntelliJ IDE:
How do I go back to the code that I was reading after I clicked:
Command + Click for IntelliJ.
Same question for after I found usage and want to go back.
OS is macOS.
To go Back on Windows/Linux:
Ctrl + Alt + Left
On MacOS:
Command + [
The same is possible from the menu:
Navigate > Back
Same question for after I found usage and want to go back.
Just go back to editor from usage window:
Esc
Go back to editor and hide find window:
Shift + Esc
It works for hiding other recent window too (Project, Run ...)
Also, keymap reference is available:
Help > Keymap Reference

Shortcut to Close Intellij File Tab

I love intellij's file tab but I can't seem to find a way to shortcut closing a tab similar to the behavior of ctrl + w in chrome. I can't find the option in the keymap editor. Am I missing something or is this not implemented?
I found this page but it doesn't include the action name. I would use ctrl + f4 but my window manager has that reserved and I would rather change it.
Open Settings by hitting Ctrl+Alt+S
Click: Keymap
Search for: Close
Under Main menu > Window > Editor Tabs, find Close.
Right-click and click Remove Ctrl+F4.
Right click and click Add Keyboard Shortcut
Add your new custom Keyboard Shortcut.
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4 mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
Current tab can be closed with:
Ctrl + F4
Works on Intellij Ultimate 2016.3
On mac OS, Intellij 2018.3 version, 'Command + W' does close the file tab.
As we can see in the image in this discussion:
Go in Settings >> Keymap >> Main menu >> Other >> [Close Active Editor] and change to Ctrl+W.
I'm on version 2020.1 and this has changed to Ctrl+4

How to make error pop-up appear using keyboard in IntelliJ IDEA

When using IntelliJ IDEA and writing code, and when code you wrote has an error, the only way I know to make IDEA show you the error details is to hover the mouse cursor over the problem.
But that requires moving my hands from the keyboard to the mouse. Is there a hotkey that causes that pop-up with the error message to appear, or a way to configure such a hotkey?
On a Mac:
Cmd + F1
On Windows:
Ctrl + F1
On Linux:
Ctrl + F1
You can check for anything else in Preferences -> Keymap
On a Mac: ⌘F1
On Windows: CtrlF1
These activate the menu item “View” → “Error Description” (which only exists when there is an error):
You can configure and search for keyboard shortcuts in Preferences → Keymap:
In the year I write this, the shortcut is Ctrl + 1.
( My OS is Arch Linux )

What is the Cloud9 keyboard shortcut for the terminal?

What is the cloud9 keyboard shortcut to move between the editor tab (#1) and the terminal console (#2)?
I am aware that I can open a terminal tab and switch to it using the keyboard, but I want to see both the editor and terminal in one view.
It is ALT + S on the current version of Cloud9
To make certain keyboard shortcut work on c9.io in Chrome, which would otherwise do something else like close tab or reload page, click the menu button of Chrome > More Tools > Create Application Shortcuts....
Now the IDE is an actual program and all the default browser shortcuts are disabled. Ctrl + W (Close tab) and Ctrl + Shift + Q (Close Chrome) and F5 (Refresh) and the likes can now be used as keyboard shortcuts :)
To add on #Kronenbourg's exact answer (which IMHO should be accepted) - as of May 2015:
Shift + Esc / Esc - Goto workspace (files tree) / Exit workspace (to the last place, Editor/Terminal)
ALT + S - switch between code and terminal
In conjunction with CMD + { / CMD + }, which navigate right/left in current context (Editor, terminal) tabs, you should be able to reach anywhere with the keyboard.
Also useful in the context is CMD + O to open file.
HTH
It's Shift+ESC on open source, but unfortunately this doesn't work on c9.io.
I accidentally found out that ctrl+~ works to switch between terminal and editing window and then back. Maybe it's not the most convenient shortcut but it works.
Alt+s
This shortcut is listed in the top menu, under:
Window > Navigation

IntelliJ IDEA, Test Runner Pane, maximize output pane

Is there a way to maximize the output pane of a test?
I can't believe that I have to endure the review process of the stacktrace in this narrow pane!
There is a shortcut (ctrl-shift-up) that make the pane grow a little.
Does anybody know of a shortcut or a button to maximize the pane?
Like in eclipse for the output console (ctrl-m)
Anyway, Idea is great!
It's not possible to maximize it, please vote for the corresponding feature request:
IDEA-64469 Provide a way to view test console output maximized (like double-clicking it?)
Update
It has been implemented as described in the issue:
You can maximize/restore tool window size:
With double-click on toolwindow header
With shortcut Shift+Ctrl+' (Shift+Command+' for Mac OS X)
Via "Resize" actions group (see popup menu for tool window)
On Linux and Windows:Ctrl + Shift + Quote(')
On Mac:Command + Shift + Quote(')
With double-click on toolwindow header
Via "Resize" actions group (see popup menu for tool window)
Tested on 2016.1.1(Linux) & 2018.1.1(Linux).
On my AZERTY keyboad I had to reassign the shortcut to Alt + M and Alt + W (maximize window).
It was maybe not yet implemented in 2013.
Look in Settings -> Keymap
Inside of that, look for "Maximize tool window" item.
Use the assigned shortcut or set one of your preference.
Regards
Before using the Cmd/Ctrl + Shift + Quote shortcut you have to activate the Run/Debug Command Output window, which in my keyboard is Right/Alt + 4 or , Right/Alt + 5 ...