I have long code lines which are currently being displayed within the width of the IDE. How can I make the lines go beyond the width of the IDE? P.S. : This is different than word wrap, which is already off.
I had the desired behavior by default and I managed to change it somehow but not able to revert back.
"alt-z" toggles between word wrap settings, which is already off for me. If you notice in the image that I attached, the IDE is continuing with the same line number.
For various reasons, you may be better off adding hard line breaks. Or you can put the giant array in a separate .h file and then #include it so there isn't so much to scroll through.
The IDE is continuing with the same line so I concluded that the word wrap is off. I tried cycling through all options but it did not result in desired view. However, at this point I created a new sketch and it seems to be displaying as expected.
So I am not sure weather it is just for a particular sketch.
Thank you for suggesting the header file route, I think I am going to follow that.
That is what word wrap does. A single line of content is displayed as multiple lines. But that is still one line of content, so it has a single line number.
Yes, it is 80 by default. However, you can change this via the "Editor: Word Wrap Column" option in Arduino IDE's advanced settings