Go Down

Topic: Bug/Request: Line numbers in the editor! (to correspond with error messages) (Read 720 times) previous topic - next topic

rahji aka rob

It's a little absurd that there are compiler errors that produce line numbers, but we can't see line numbers in the editor.  :)

DuaneB

Hi,

If you could see them, they would be wrong anyway ( I am guessing ). The errors are generated from the .cpp files that the editor generates, these include a small amount of extra code to turn your Arduino code into conventional c++ with a main() function rather than setup and loop which are both wrapped in the hidden/generated main function()

Duane B

rcarduino.blogspot.com

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Jantje

Actually there are line numbers (in a way)
left in the bottom you can see the current line number
and it corrects for the cpp changes
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

JohnSan

Well.
I've noticed that number on a few occasions and didn't twig what it's value was indicating...
That's useful.

If there was a folding facility for brackets, that would also be really useful.
The increase in compile speed in 1.0.1 is welcome.
I'll be glad when I've had enough!

Go Up