How can we help you today? How can we help you today?

can I create a Toolbar button for a commonly used Command palette item?

for long lists of items in an IN statement, I often like to Unformat them.  is there a way to put a button in the Redgate toolbar to run "Unformat"?  thanks
Burke
0

Comments

2 comments

  • Burke
    sorry, this should probably be in the Product Forum.  I don't see a way to move it
    Burke
    0
  • DustinM
    Hi Burke, 

    No worries, while there currently may not be a button in the toolbar for unformat there is a shortcut that may do the trick.

    https://www.red-gate.com/blog/database-development/sql-prompt-shortcuts
    Highlight the code, hit Ctrl, and select Unformat. This will remove any carriage returns, tabs, extra spaces, and so on, and compact the script as much as possible.

    You may need to type unformat in the search box to have it appear.

    I hope this information helps. 

    Best, 

    Dustin 

    DustinM
    0

Add comment

Please sign in to leave a comment.