How to copy current line number in Idea?

You could use Ctrl+Shift+Alt+C to copy a reference to a line or symbol. When used within a class, it will copy to the clipboard a string of the form <fully qualified path>:<line number>.

I came across this feature in the documentation for IDEA 14, but if I’m interpreting the document correctly, this feature has been available since IDEA 10.5.


This feature is currently not available in IntelliJ IDEA. One can write a plug-in that will add an action to copy current line number to the clipboard, it should not be very hard.