jQuery in Action, 2nd edition*
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
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: 10169
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding line number and column in NetBeans Editor
 
Similar Threads
Displaying line # with JTextArea
ArrayList without duplicates
If conditional not branching correctly
Casting in java
Mysql JDBC Cant load.....