What are the challenges you face when working across database platforms? Take the survey

Indenting behavior on <enter>

ChuckMartinChuckMartin Posts: 3
edited February 10, 2011 12:05PM in SQL Prompt Previous Versions
Running in SSMS 2008 r2. How do you turn off the behavior to indent the next line automatically on <enter>? In other words, I want the cursor to return to the beginning of the line every time I hit the enter key.


  • Options
    Isn't that a function of SSMS itself?
  • Options
    It is an option in SSMS but I currently have it turned off. Tools -> Options -> Text Editor -> All Languages -> Indenting set to None.

    If I turn off SQL Prompt then it behaves like I wish. With SQL Prompt on I can force it to the beginning of the next line by unchecking Each Subsequent Column under Data Statements, however, this also removes the behavior of placing new columns on the next line, which I like to keep for formatting.
Sign In or Register to comment.