Ticket S130722
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

CodeGen - Add options to specify code generation rules

Code creation should have a Blank Lines option

created 16 years ago

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.
Proposed Solution:
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)

Show previous comments (2)
DevExpress Support Team 16 years ago

    It appears that I pointed you to a wrong suggestion. I apologize for this mistake.
    Actually, I meant this suggestion:
    ID: S19229, CodeGen - Add options to specify code generation rules
    Thanks,
    Vito

    ?
    Unknown 16 years ago

      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

      DevExpress Support Team 16 years ago

        Hi Ruben,
        Ok, I've added the corresponding comment to this suggestion.
        Thanks,
        Vito

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.