Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy current line number in Idea?

Does anybody know how to copy current line number in Intellij Idea 11?

like image 452
pbespechnyi Avatar asked Sep 21 '12 07:09

pbespechnyi


1 Answers

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.

like image 189
mkaliszan Avatar answered Oct 11 '22 08:10

mkaliszan