This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Finding line number and column in NetBeans Editor

 
Charles Bradley
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Better suited for the IDE forum.
Moving.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The line and column number are shown in the status line at the lower right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic