5.3.6: Stopped prompting variables in SSMS2012
PDinCA
Posts: 642 Silver 1
MS Intellisense is turned off.
Whatever I do I can't get SQL Prompt interested in prompting me with either local variables or SP parameters.
Current script is at line 350 of a 900-line SP, with a single DECLARE for over 30 local variables immediately after the "AS".
@ variables.
I KILLED SSMS2012 and fired it up fresh, too - NO CHANGE.
SQL Prompt is now USELESS - I might as well revert to Intellisense, at least it works!
Ideas?
As an aside, does anyone know how make SSMS2012 load in anything under 5 MINUTES? That sucker is a SLUG! I'd love to change the "Powered by Visual Studio" to "Impaired by ..."
Whatever I do I can't get SQL Prompt interested in prompting me with either local variables or SP parameters.
Current script is at line 350 of a 900-line SP, with a single DECLARE for over 30 local variables immediately after the "AS".
@ variables.
I KILLED SSMS2012 and fired it up fresh, too - NO CHANGE.
SQL Prompt is now USELESS - I might as well revert to Intellisense, at least it works!
Ideas?
As an aside, does anyone know how make SSMS2012 load in anything under 5 MINUTES? That sucker is a SLUG! I'd love to change the "Powered by Visual Studio" to "Impaired by ..."
Jesus Christ: Lunatic, liar or Lord?
Decide wisely...
Decide wisely...
Comments
By default, this is 5000 characters, but if you are happy editing XML files then it can be changed:
1. Open up "%LOCALAPPDATA%\Red Gate\SQL Prompt 5\RedGate_SqlPrompt_Engine_EngineOptions.xml" in a text editor.
2. Find the tag <ParserLookBackDistance>.
3. Increase the number in the tag from 5000 to something bigger like 30000.
Please be aware that very large values of this option have not been thoroughly tested and may cause performance degradation, so use with caution.
Product Support
Red Gate Software
Decide wisely...
C:\Users\<username>\AppData\Local\Red Gate\SQL Prompt 5
Product Support
Red Gate Software
Thanks for reminding me of the look-back - I just changed to laptop from a server for all my dev work and had the server value set very high.
Cheers.
Decide wisely...
I have no more votes, but it would be very user-friendly to move ALL the XML file's Engine options to the UI so we don't have to go diving down folders that differ by OS just to manually edit an XML file.
Thanks.
Decide wisely...
You can request this in our uservoice forums
http://redgate.uservoice.com/forums/944 ... uggestions
I'm not sure if we can give you more votes but I don't think there is any reason you couldn't open a new account.
Product Support
Red Gate Software
Decide wisely...