Who's messing with me, SQL Prompt or Intellisense?
njahncke
Posts: 23
Hey there,
On my system, running SQL Prompt v5.2.6.1, this behavior is growing frustrating...
Type the following...
Pressing enter after SQL Prompt has completed the table/alias combo (cursor is currently after the alias I) yields the following...
The cursor is now on a new line after INSERT.
I've scoured the SQL Prompt Snippet Manager for anything that may be responsible, but that doesn't seem to be it. Any ideas? I'm going to try adding a snippet that replaces I with I, but an actual fix would be nice.
Thanks in advance!
On my system, running SQL Prompt v5.2.6.1, this behavior is growing frustrating...
Type the following...
SELECT * FROM <ONE WORD TABLE NAME BEGINNING WITH I> AS I
Pressing enter after SQL Prompt has completed the table/alias combo (cursor is currently after the alias I) yields the following...
SELECT * FROM <ONE WORD TABLE NAME BEGINNING WITH I> AS INSERT
The cursor is now on a new line after INSERT.
I've scoured the SQL Prompt Snippet Manager for anything that may be responsible, but that doesn't seem to be it. Any ideas? I'm going to try adding a snippet that replaces I with I, but an actual fix would be nice.
Thanks in advance!
Comments
I've tested this out with v5.2.6.1 in SSMS 2008 R2 and didn't get the same behaviour.
I have native intellisense enabled as well.
What version of SSMS are you using?
Do you have SSMS Tools Pack installed as well? This has a SQL Snippets option, which by default has "I" as a snippet for INSERT and Enter as the snippet insertion key.
If this is the case then you can disable SSMS Tools Pack's snippets at SSMS Tools > SQL Snippets > Options....
Regards,
Paul
Project Manager, Red Gate
Thanks for the post Paul.
Decide wisely...