Variable name highlighting
sam88jeep
Posts: 14 Bronze 2
Has anyone had a problem with version 3.9 of SQL Prompt altering the "double-click" highlighting behavior on variable and temp tables names?
It causing me grief because now the "@ sign or #" sign isn't highlighted when you double-click the variable name.
Any help is appreciated!
Sam
It causing me grief because now the "@ sign or #" sign isn't highlighted when you double-click the variable name.
Any help is appreciated!
Sam
Comments
VP, Software Development
Organizational Intelligence, Inc.
ftp://support.red-gate.com/Patches/SQL_Prompt/SQL Prompt 3.8.2.000402.zip
Good luck!
Edit: I had to uninstall Prompt to install this version. However, it did not solve the problem. Double-click selections are still not working correctly. I'll attempt to roll back to an even earlier build.
Edit 2: Trying to rollback to an earlier build of 3.8 causes the add-in to stop working completely. Uninstalling/reinstalling/repairing doesn't help. The only solution is to go to build 402 or later. So now I'm locked into this terrible double-click selection behavior. Red Gate, can anyone speak up about this?
VP, Software Development
Organizational Intelligence, Inc.
I did find a workaround. Pull up a query window, disable SQL prompt, open ANOTHER window... that new window will work because SQL prompt is disabled. Then REENABLE SQL Prompt. That window will still behave correctly.
Not pretty but its something
Sam
VP, Software Development
Organizational Intelligence, Inc.
VP, Software Development
Organizational Intelligence, Inc.
Before you decide to shoot me, I can give you a suggestion that might resolve the downgrade issue for you.
Have you tried to completely uninstall the product, remove the menu items from your editor after uninstall (SSMS-Tools-Choose Menubar and click Reset) and then try to install the v3.8.402 build? Ensure you remove the menubar items in all the editors you use SQL Prompt on before you install v3.8.
The above should ideally get the product to work and hopefully make your world look better.
The workaround suggested by Sam (Disable SQL Prompt before you start SSMS or disable and open a new query window should help although it is not a great fix) should work as well.
Thanks for bringing this issue to our notice and our sincere apologies for the trouble caused. We will certainly fix this issue in our next release.
Excuse for the inconvenience caused.
• Note: Downgrade is not officially supported by RG for various reasons but I suppose for this particular scenario you should be fine. However I would suggest taking a backup of your options and snippets file prior to upgrading. Generally they are stored in “C:\Documents and settings\{Your username}\Local Settings\Application Data\Red Gate\SQL Prompt 3â€.
I hope that helps
Thanks,
Tanya
Project Manager
Red Gate Software Ltd
Thanks for the tip on how to downgrade. Just a couple notes on what you said:
- The menu path to reset the menu is not exactly what you listed. It is actually: Tools | Customize... | Select "Menubar" | Click Reset...
- A lot of customers are probably using Windows Vista these days. Under that operating system, SQL Prompt saves it's files in the location: C:\Users\<username>\AppData\Local\Red Gate\SQL Prompt 3. You may want to adjust your copy/paste script there to include both locations.
According to SQL Prompt | About SQL Prompt, I'm now running version 3.8.2.402. However, both of my issues still remain: double-click selections don't work correctly, and object definition hints don't function at all, even though they are turned on. The workaround above solves the double-click issue but not the hint issue.Thanks for your help, and I hope you guys get fixes out for this ASAP! It's amazing how much your life starts to depend on these tools -- when they go bad, it really screws up your day!
VP, Software Development
Organizational Intelligence, Inc.
VP, Software Development
Organizational Intelligence, Inc.
OMG sorry face again
I should have noticed the build no. before giving all that downgrade tips!
Actually the 'double click' issue was a side-effect that was caused while handling an interference issue in SQL 2008 RC client query window and as SQL Prompt v3.8.2 was a patch release to support SQL 2008 RC users, it explains the reason for the 'double-click' issue being present in build 3.8.2.402 as well.
I can give you the v3.8 release build but it would not include SQL 2008 RC support. If you are happy with that, let me know and I will send you the v3.8 release build.
Thanks,
Tanya
Project Manager
Red Gate Software Ltd
Don't you love regression issues?
A link to 3.8 would be great. I'm not using SQL 2008 yet. Could you ask the developers to put a note in the changelog for their next release to specifically mention if this issue was fixed? That way I don't upgrade again and break everything. Thanks!
VP, Software Development
Organizational Intelligence, Inc.
Honestly speaking – it makes us bang our heads against the wall when such issues slip through!!!
I will definitely make a note to include this in our release notes and will drop you a note with v3.8 release build soon.
Thanks,
Tanya
Thanks again for taking the problem so seriously. You'd be amazed how often you double-click!
Sam
Hi Tanya,
since I have installed SQLPrompt 3.9 I have the same problem . Can you provide me with a working 3.8 ? I'm not using SQL 2008.
Thanks in advance.
Regards,
Thorsten
Thorsten
Ok...that's quite a lot of noise which has indeed worked for the best
The good news is we have a build that fixes this issue in both 2005 and 2008 editors. Please email support@red-gate.com if you need the fix for the variable highlighting issue.
Thank you very much for all your patience.
Regards,
Tanya
Project Manager
Red Gate Software Ltd
but I just email'ed support to get a fix, hope I get it soon
Thanks for the other thread bringing this up
DBA, MCITP