My current approach is to get it running then go through and 'tidy' the code with tabs and comments and removing surplus code to get it looking neat.
We all have our own habits.
Some of my habits, I :
- use meaningful names.
- use identatation directly when coding, I set the Tab size to 2.
- add empty lines to separate code functions.
- split long routines in smaller ones.
Some others, not really my habits :
- add comments
- use the Region feature of the IDE
In the meantime is there any chance of adding a way to check if declared variables and views are actually used in the code it.
This feature already exists. If you select a variable or any word it is highlighted in dark blue and all other occurences are highlighted in light blue and you'll see in the right scrollbar a small light blue line to find all the other occurences in the code.
So if you select a variable and you don't see any blue line in the scrollbar means that the selected variable (word) is never used.
Have a look at the Beginner's Guide chapter Highlighting occurences of words page 62.
Best regards.