Menu

how to get "proper" capitalization of types?

2005-04-21
2013-05-23
  • Nobody/Anonymous

    Hi everyone.

    Maybe I'm missing the obvious, but the last version of JCF I've used (0.64) managed to give me "proper" capitalization of type names (the most prominent example is "string", which should be lower case, while Integer, Boolean, etc.should be CamelCase). It's no big deal, I can easily live with "String" instead of "string", but I'm wondering ...

     
    • Nobody/Anonymous

      I'd download a more recent version - I'm using 2.07. The most recent version is 2.08 I think, but I have not tried that one yet. Your version is kind of ancient. :-)

      Install the new version. Run the formatter and open: Settings|Clarify|Capitalisation|Any Word

      Type in any words that require special capitalization. Click the Enable checkbox at the top of the list page.

      I have around 100 words and variable names in my capitalization list.  Works great!

      You might also want to revisit the  Settings|Clarify|Capitalisation|Object Pascal page and make sure you set the radio buttons to reflect your style.

      I do miss the old TurboPower PF formatter that would automatically learn your capitalization style. It had a somewhat limited max list size though. Unfortunately it doesn't work on Delphi code.

      Best regards,

      Kevin

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.