What about including capitalization of key words.
For me this is very much a need.
dineshasanka
0

Comments

6 comments

  • drsql
    I agree. This would be really really nice when writing. I spend a large part of the time I am writing trying to format code. And most publishers have a given style. This would be excellent.
    drsql
    0
  • dineshasanka
    Yes me to. I think I am spending more time on capitalization than wrting the scripts :)
    dineshasanka
    0
  • cneller
    One more vote for capitalization
    cneller
    0
  • schaitel
    I like SQL Refactor alot better than SQL Pretty Printer, but one feature that SQL Pretty Printer has that this Beta of Refactor doesn't (and I hope is added!) is the ability to transform code to either UPPERCASE, LOWERCASE or PROPERCASE. I like to set my SQL reserved words to upper case, my identifiers to lower case and functions to proper case (or as it calls it InitCase).

    So it takes code like this:

    select firstname from customer where insertdate = getdate()

    and makes it look like this:

    SELECT firstname
    FROM customer
    WHERE insertdate = Getdate()
    schaitel
    0
  • Andras B
    schaitel wrote:
    I like SQL Refactor alot better than SQL Pretty Printer, but one feature that SQL Pretty Printer has that this Beta of Refactor doesn't (and I hope is added!) is the ability to transform code to either UPPERCASE, LOWERCASE or PROPERCASE. I like to set my SQL reserved words to upper case, my identifiers to lower case and functions to proper case (or as it calls it InitCase).

    So it takes code like this:

    select firstname from customer where insertdate = getdate()

    and makes it look like this:

    SELECT firstname
    FROM customer
    WHERE insertdate = Getdate()

    Hi,
    many thanks for your comment. This seems to be quite a popular option, so we are considering adding capitalization to SQL Refactor.

    Regards,
    Andras
    Andras B
    0
  • dineshasanka
    So we are considering adding capitalization to SQL Refactor.
    Great!
    dineshasanka
    0

Add comment

Please sign in to leave a comment.