I am seeing an error in this yellow box in IntelliJ. How to copy it out to system clipboard?
In Eclipse, there is a good way of doing so. How to do this in IntelliJ?
Set the caret anywhere in the line to copy the whole line, or make a selection to copy. Press Ctrl+C or choose Edit | Copy from the main menu .
Press Ctrl+D or choose Edit | Duplicate Line or Selection from the main menu .
Simply hit ctrl+c. Note that for this to select the whole line, you need to ensure that nothing is already selected; otherwise it'll work as an usual "copy" command.
The following approach works for me on Windows 8.1 and IDEA 14.1:
Move the caret to the error location. The error message appears on the left side of the status bar below. Right-click the error message - a context menu containing a command "Copy" appears. Select the command "Copy". Voila, the error message is in the clipboard.
UPDATE for newer versions of Idea family (works for me in Webstorm 2019.3 in Ubuntu 18.04.3): just select the error text inside the bubble and press Ctrl+C. Thank you, Jetbrains.
Long-awaited solution for Linux version: press Ctrl+Alt+left mouse button on the tooltip - and you've got it in your clipboard :)
The solution doesn't seem to be documented anywhere (correct me if I'm wrong), although it works nice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With