Go Down

Topic: Death of a 6000 line project (Read 2066 times) previous topic - next topic

mmkhmmkh

Ok , so for next update fix this bug , and also add some more options for code folding ( fold all , unbend all and etc.)

larryd

#16
Jun 21, 2016, 11:06 pm Last Edit: Jun 21, 2016, 11:11 pm by LarryD
Have you ever used Notepad++ as your editor?
Set external editor in the IDE preferences.

https://notepad-plus-plus.org/


Search this site for settings to get colours, I think Riva did the work.
Edit:
http://forum.arduino.cc/index.php?topic=141050.15


.
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

Robin2

I use Geany for my editing and I have a Python program to verify and upload directly from within Geany.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

mmkhmmkh

Have you ever used Notepad++ as your editor?
Set external editor in the IDE preferences.

https://notepad-plus-plus.org/


Search this site for settings to get colours, I think Riva did the work.
Edit:
http://forum.arduino.cc/index.php?topic=141050.15


.
Yes ! i use Notepad++ for many langueges . i will try it for arduino ...

I use Geany for my editing and I have a Python program to verify and upload directly from within Geany.

...R

i will test it ...

Hutkikz

 If Serial was used only for debugging ONLY. This is a nice bit of code to remove Serial without having to comment out everything.

Code: [Select]

#define DEBUG false                         // Set to true to enable Serial Debug
#define Serial if (DEBUG)Serial            // WARNING: Use only when Serial is used for Debugging only (THIS REMOVES Serial COMPLETLY!!!)


 There are also other Debug macro schema's that can be used to remove Debug print's with a simple true/false flag that do not remove Serial.

Much quicker and safer than commenting out lines.


pYro_65

#20
Jun 26, 2016, 07:34 am Last Edit: Jun 26, 2016, 07:58 am by pYro_65
For your important stuff, Git & GitHub (or other version control) is the single best option IMO.
A single command "git checkout -- ." would revert your whole project to the last commit.

Its a bit daunting at first, however an hour or two of reading and testing will give you what you need to prevent this from ever happening again.

EDIT: Just noticed a few other people saying the same thing. Great minds think alike.
Forum Mod anyone?
https://arduino.land/Moduino/

Go Up