comments confuse reformat

Provides intelligent code completion for SQL Server editors.

comments confuse reformat

Postby rbennet8 » Thu Oct 25, 2012 1:02 pm

consider this snippet.
@back_up_path varchar(500), -- path for backup directory
@log_path varchar(500), -- path for log directory
@JobID BINARY(16),
If you choose comma first, reformat changes it to
,@back_up_path VARCHAR(500)
, -- path for backup directory
@log_path VARCHAR(500)
, -- path for log directory
it should be reformatted as this
,@back_up_path varchar(500) -- path for backup directory
,@log_path varchar(500) -- path for log directory
,@JobID BINARY(16)
Posts: 49
Joined: Mon Feb 20, 2006 9:00 pm

Postby Manfred.Castro » Fri Oct 26, 2012 6:32 pm

Sorry you are experiencing this.
This is a known issue and there is an existing feature request to better handle comments in our uservoice forums you may want to vote for.
These forums are monitored by our developers and allow our users to request features and vote on them.
If a request receives significant support the feature may be included in a future release.
Manfred Castro
Product Support
Red Gate Software
Posts: 209
Joined: Mon Apr 23, 2012 1:49 pm

Return to SQL Prompt Previous Versions

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests