Lay Out SQL request

Provides intelligent code completion for SQL Server editors.

Lay Out SQL request

Postby jamal » Mon Feb 16, 2009 6:19 pm

Can an option be added to keep BEGIN END blocks in line with their logical code? I like to see BEGIN and END directly below IF statements and loops like this:

IF x
<tab> --code here

and it seems Lay Out SQL enforces an automatic tab which makes it more difficult to find the end of the code block

IF x
<tab><tab> --code here
Posts: 36
Joined: Tue Mar 20, 2007 3:39 pm

Postby Ben Pinchen » Thu Feb 19, 2009 3:07 pm

Thanks for the feedback. I've raised this as a feature request and logged it in the system. The SQL Prompt team will consider adding this extra option in a future version of the application. For your reference the feature request code is: SP-1662
Ben Pinchen
Posts: 157
Joined: Thu Dec 28, 2006 1:21 pm
Location: Red Gate

Postby pburleson » Tue Mar 24, 2009 8:39 pm

I'd like to throw in a vote for this change as well. We're looking at using SQL Prompt to reformat our code and having BEGIN/END on the same tab stop is the IF/ELSE would be preferred.
Posts: 8
Joined: Fri Aug 11, 2006 7:24 pm
Location: Dallas, TX

Return to SQL Prompt Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest