Red Gate forums :: View topic - Suggestion Inserted Instead of Indenting
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt Previous Versions
SQL Prompt Previous Versions forum

Suggestion Inserted Instead of Indenting

Search in SQL Prompt Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
CodantiM



Joined: 29 Jun 2007
Posts: 180

PostPosted: Sat Sep 25, 2010 6:18 am    Post subject: Suggestion Inserted Instead of Indenting Reply with quote

I am running version 4.0.4.21 and have found that in some case SQL Prompt will insert a suggestion instead of indenting when I hit TAB
Code:
SELECT
  DT.bac<selection start>kup_set_id,
  DT.first_family_number,
  DT<selection end>.first_media_number
FROM msdb.dbo.backupfile DT


If at that point I hit TAB I end up with:

Code:
SELECT
   DT.backup_set_id,
   DT.first_family_number,
   DROP TABLE .first_media_number
FROM msdb.dbo.backupfile DT


when I should end up with:

Code:
SELECT
      DT.backup_set_id,
      DT.first_family_number,
      DT.first_media_number
FROM msdb.dbo.backupfile DT


What is weird is after it has done it once, it won't do it again in the same query window. But if I copy the code to a new query window it will do it again. (I understand the the selection ends at the end of a snippet code, but since there is a selection it shouldn't be inserting the snippet.)
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 685
Location: Cambridge

PostPosted: Mon Sep 27, 2010 1:43 pm    Post subject: Reply with quote

Many thanks for your e-mail and apologies for inconvenience caused.

We appreciate your feedback and hence logged this as a bug in our internal tracking system whose tracking id is SP-3501.

It will be reviewed by product manager and than marked for the next release.

I will update you as soon as it is incorporated.
_________________
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group