Red Gate forums :: View topic - When No Text - Up Arrow to close suggestion window
Return to www.red-gate.com RSS Feed Available

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

When No Text - Up Arrow to close suggestion window

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
sdingle



Joined: 22 Feb 2013
Posts: 2

PostPosted: Fri Apr 25, 2014 12:13 pm    Post subject: When No Text - Up Arrow to close suggestion window Reply with quote

I had created a snippet for begin transaction (below to recreate). When the cursor is placed in between the BEGIN and COMMIT a suggestion window pops up, with no suggestion because there is no text there yet, and I find myself always closing for various reason . Just wondering if there is a setting that would turn this off. If not I was wondering if I could suggest it.

Basically I don't think this is common behaviour within SQL Prompt. If I place the cursor in the query window via mouse, enter, arrow key a suggestion window doesn't come up . This only seems to happen when the snippet window is run,placing a cursor and there is NO text or if I start typing then backspace removing all the text

Just a thought
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 692
Location: Cambridge

PostPosted: Mon Apr 28, 2014 10:51 am    Post subject: Reply with quote

Thanks for your post.

Unfortunately I am not able to replicate the issue you are having.

Is it possible for you to send us a screencast of this issue? We have logged a ticket for you so you will get an email and if you are using Zendesk portal you will get an option to create a screencast (video).

This will help us understand the issue better and follow exact steps you are following.
_________________
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
hansmank



Joined: 13 Dec 2006
Posts: 4
Location: Zwolle, the Netherlands

PostPosted: Thu May 22, 2014 3:39 pm    Post subject: Recepi Reply with quote

When typing sql script, like:

Select * from SomeTable
where cp = 5
and field2 = 'test'

When the cursor is behind the last line and you click Home to place the cursor in front of: and
than click <enter> to open up a new line between the lines "where cp=5" and the line "and field2 = 'test'"
Than the prompt window is activated in (all suggestions).
Moving the cursor up, to go to the new line, places the cursor on "yell" of the code snippets.
When you click tab, you get the AAAAAAARCH! tekst and you are frustrated Smile.

If someone sees this behaviour depends on the formating end editing habbits, but for me it is very anoying.

Hans
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 246
Location: Red Gate Software

PostPosted: Fri May 23, 2014 10:00 am    Post subject: Reply with quote

Hi hansmank,

We think we might have recreated what you're mentioning here but in a slightly odd way and wanted to confirm that it's the same issue you're seeing.

In SSMS if you go to File->Advanced Save Options… and set the line endings to Windows (CR LF) does the suggestion window still popup?

Thanks,
Aaron.
Back to top
View user's profile Send private message
hansmank



Joined: 13 Dec 2006
Posts: 4
Location: Zwolle, the Netherlands

PostPosted: Fri May 23, 2014 12:03 pm    Post subject: Reply with quote

Still pops-up.
No difference.
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 246
Location: Red Gate Software

PostPosted: Fri May 23, 2014 12:53 pm    Post subject: Reply with quote

Hmm in that case we are seeing something different.

Would it be possible to set up a remote session with you so we can see the behaviour? If so, I'll send you an email with more details.
Back to top
View user's profile Send private message
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