SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
auto complete? text inserts at the end!?!?

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
auto complete? text inserts at the end!?!?
Author Message
sqlrocks



Joined: 19 Mar 2009
Posts: 4
Country: United States

Post auto complete? text inserts at the end!?!? Reply with quote
Hi Support,
Here is my problem. I type

select * from Account

Then, I wanted to add "top 10" right before *

As soon as I type TOP and hit space bar, the word "TOP" is inserted at THE END of the line, make the sql looks like this
SELECT * FROM Account aTOP

I just upgraded to SQL Assistant 4.6.12 and this starts happening. I don't have any custom settings. Everything is by default. I used it in Microsoft SQL Server Management Studio 9.00.3042.00.

Help please!

Thanks.
Thu Mar 19, 2009 11:17 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Hi,

I'm unable to reproduce this issue. Have you tried restarting your computer after upgrade?

Regards
Fri Mar 20, 2009 12:51 am View user's profile Send private message
sqlrocks



Joined: 19 Mar 2009
Posts: 4
Country: United States

Post Reply with quote
I have restarted my computer already. I also just uninstalled and reinstalled SQL Assistant again and it doesn't work still.
Fri Mar 20, 2009 10:01 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Which SQL Server service pack is installed on the client?

My SSMS version reads 9.00.1399
Fri Mar 20, 2009 10:56 pm View user's profile Send private message
bkaldawi



Joined: 13 Apr 2009
Posts: 1
Country: United States

Post Reply with quote
I also experience the same exact problem with the same scenario. It happens with other cases as well, but this seems the simplest to reproduce. Again the steps are:

1. Type: SELECT * FROM Account a
2. Click right before the *
3. Type: top
4. You'll see the drop down with keyword assist showing TOP
5. Hit the space bar
6. End up with: "SELECT * FROM Account aTOP "
TOP is moved to the end of the line with the trailing space.

I noticed one factor that makes a difference to the behavior. If I change SQL Assistant Options under Code Formatting then "Convert Keywords to" FROM "Upper-case" to "None" then the problem does NOT happen when hitting the space after typing "top".

However, note that the same problem still happens if after I type "top" and before I hit the space bar, I select "top" from the keyword assist drop-down and hit enter. Then I get the following: "select * from Account atop". Only difference from before is the keywords are lower case and no space at the end of the line.

So, same problem but different trigger in both cases.

I hope you can find a way to solve this problem for us because it makes using SQL Assistant very annoying.

Thank you!
Mon Apr 13, 2009 1:01 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Thank you. The provided information is very helpfull. We will look into this.
Mon Apr 13, 2009 1:05 pm View user's profile Send private message
sqlrocks



Joined: 19 Mar 2009
Posts: 4
Country: United States

Post Reply with quote
My Microsoft SQL Server Management Studio is 9.00.3042.00.

Thanks.
Mon Apr 13, 2009 1:45 pm View user's profile Send private message
sqlrocks



Joined: 19 Mar 2009
Posts: 4
Country: United States

Post Reply with quote
I'm able to reproduce the problem.

In case it's helpful for anyone.

The problem occurs if you enable Word Wrap from Options->Text Editor->All Language. If you disable it, the problem will go away.
Wed Jun 02, 2010 7:51 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Thank you. This is very helpful. I hope we can reproduce this issue now.
Wed Jun 02, 2010 8:56 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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
Design by Freestyle XL / Flowers Online.