Options

[feature request] Add semicolon to statements

ogrishmanogrishman Posts: 81 Bronze 4
edited November 28, 2014 5:57AM in SQL Prompt
It would be useful if SQL Prompt can add semicolons to the statements that don't have a semicolon. Please consider it.

Thanks.

Comments

  • Options
    Aaron LAaron L Posts: 596 New member
    Hi ogrishman,

    This feature should already be available if you're on the latest version of Prompt. It's under the Prompt menu as "Insert semicolons" or you can use the keyboard shortcut Ctrl+B, Ctrl+C.

    Thanks,
    Aaron.
  • Options
    ogrishmanogrishman Posts: 81 Bronze 4
    Thanks.
  • Options
    Aaron, is it possible to add an option like "add semicolons when formatting code"? It's not a big deal but it will make it a little easier to get a consistent result.
  • Options
    Aaron LAaron L Posts: 596 New member
    We've had this requested a few times and we are planning on adding it in the future.
    It'll probably be in v7 with a few other things supported (e.g. your suggestion for adding an N in front of any NVARCHAR strings is another possible improvement)

    Thanks!
    Aaron.
Sign In or Register to comment.