This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes Finding line number and column in NetBeans Editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Finding line number and column in NetBeans Editor" Watch "Finding line number and column in NetBeans Editor" New topic
Author

Finding line number and column in NetBeans Editor

Charles Bradley
Greenhorn

Joined: Oct 04, 2009
Posts: 25
There are enough mentions of NetBeans here that I hope this is an appropriate question. Is there a way to find the current position in a file? By that I mean the line number and the position in the line. This would be useful for locating errors when the error report includes a line number, aligning comments, etc. Thanks.
Neel Bera
Greenhorn

Joined: Oct 13, 2009
Posts: 2
Charles Bradley wrote:There are enough mentions of NetBeans here that I hope this is an appropriate question. Is there a way to find the current position in a file? By that I mean the line number and the position in the line. This would be useful for locating errors when the error report includes a line number, aligning comments, etc. Thanks.




Hello, I hope by file you were referring to the source code lines. Please search in Toolbar and click on " View -> Show line numbers". This will List the number line beside your code. Hope this helps

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Better suited for the IDE forum.
Moving.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The line and column number are shown in the status line at the lower right.
 
Don't get me started about those stupid light bulbs.
 
subject: Finding line number and column in NetBeans Editor