As pointed out in http://www.amazon.co.uk/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882/ref=sr_1_1?ie=UTF8&s=books&qid=1230025581&sr=8-1 but independently arrived at by lots of people, having blank lines between functions can dramatically enchance readablity.
Hence this has been a convention used in my last two workplaces.
CtrlK, CtrlM (VS Create Method Stub) generates blank lines between functions automatically (which for years used to irrirate me as I deleted them!).
CR Create Method Stub doesnt.
Have an option where you can tell CR whether to create blank lines or not for its new code.
(I have another issue logged about being able to press HOME and END in the targetting function - Ctrl K Ctrl M is a quick way to create at end with a blank line in between and I'd nearly use it in preference to the CR fucntion whichc isnt a good sign)
A similar suggestion is already in our database:
So, I've marked this suggestion as its duplicate. You'll be automatically added to its "Trackers" list, and so, you'll be informed as soon as it is implemented.
Can there be a backreference to this issue though - there`s a big difference between a generic request for non-specific preservation of existing whitespace vs adding blank lines (or not) to keep code in sync with a coding standard than can specify it either way.
(Sorry if this seems picky, but its a pretty big distinction for me)
OK, it would be nice if that issue would mention what such an option would entail, so that I can verify it covers what I'd like.
I'll of course be satisfied with a link to this being added to http://www.devexpress.com/Support/Center/p/S19229.aspx
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.