PDA

View Full Version : Code formatting



Jeremy Leach
08-12-2005, 19:14
Hi

I've listed a couple of formatting features that I think are lacking. I personally think presentation of code is very important, especially when sharing code, so these rate highly for me:

1. I like editors that automatically correct the capitalization of symbol names based on the original definition of a symbol. I'm sure this function has got a name but I don't know what it is. This makes code easier to type and nicer to read.

2. Autospacing of words on command lines. Again making code easier to read.

I've tried this out in my simulator, which is of course a very crude attempt at an editor - but it does show that both of these are possible.

evanh
08-12-2005, 19:33
Just as long as one can redefine such auto-formatting. I for one like to capitalise only important global variables, everything else is lower case.

Evan