Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
Bartender
Posts: 11445
18
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!