Hi all,
very and I stress that, new to Arduino, but I have found this useful.
To print code, select and copy all the code in the IDE, then paste it into Excel starting in column B.
Add line numbers in Col A and print the sheet. This gives me line numbers, preserves all the formatting, including colours. (or colors). Then I can get a paper copy to scribble on.
And what a great community.
Hi, probably very little, I don't really know. anything about BBedit.
This of course is not an editing process, simply a printing option.
Nevertheless in my defence, my experience is that most people know Excel from even their early days. So it is simple . usable (does everything I want, preserving indents, colors, giving line numbers), and is accessible.
When I chased the forum on printing, there wasn't a simple option that I could find.
I did a short search of the forum and found that printing from the IDE in 2.x is being considered. Otherwise the suggestions seem to be similar to mine. If Excel works for you, then that is a good solution.
Well, i don't know out how excel can be helpfull to format code. I knwo bbedit, but more public known is the notepad++ . I use that to look into code that comes not out of my IDE.
Tiny and very flexible.
I think Notepad++ does language highlighting so that would be a choice for Windows users. OP just wants to print and is familiar with Excel so that makes it a good choice for them.
But this is more complex as it need. Open the file in notepad++, mark and print. That's all. If i remember that right, the line numbering is on. it can be justified to number all lines, or in step of every fifth line. Yes, ur right - Syntax highlighting is very helpfull.
I long time i had used UEDIT32, but notepad++ is free an dis less complex. Only the HEX-Editor of UEDIT32 is outstanding.
Well, he has to choose, not me. Good luck...
OP here. Thanks EmilyJane.
It is horses for courses.
And I have only come to Arduino's to help someone else (not all that computer savvy) and that is via emails and the odd face to face. But it isn't an option to access their machines, install any extension to the IDE or even new editors.) Ridiculous though it may sound, that little me - an utter newbie - could help anyone else with their Arduino application, in my defence I can claim only 60+ years of programming experience. Yup, even before PC's existed. Must say that Arduino's are rather engaging little gadgets. Cheers all.
OP again, off topic really, but interestingly here is a blog from r/learnprogramming re Notepad++
Posted by Bobbias
Is there a compelling reason why someone would prefer or over a more fully featured IDE? Not really. At least not in terms of N++ offering any sort of benefit (aside arguably from simplicity) over an IDE.
Notepad++ is certainly one of the better lightweight editors out there, with some nice programming related features and some plugins that can make it feel closer to an IDE in some languages.
But the fact is that something like VSCode, Vim (et al), Emacs, Visual Studio, Jetbrains IDEs, etc all offer way more functionality and flexibility.
There are people out there who simply hate anything that feels big and clunky, and IDEs sometimes feel big and clunky, and those people will gravitate towards minimalist editors like Notepad++. But for anyone who doesn't feel like their IDE is getting in their way, it's probably going to be more productive to stick with the IDE.