The intellisense feature in SQL server management studio was long overdue (it was difficult especially for those used to Visual studio intellisense) and great to see that it is added in SQL Server 2008, but I think it still lacks in one feature. if I make some changes to the schema or add or drop objects, I will have to refresh the intellisense manually (Edit --> intellisense --> refresh local cache). Is there any way to refresh this automatically (may be through some external add-ins or any other way)?
No way to do it automatically that I know of. But the much-quicker way is just to press Ctrl + Shift + R
. Quick, easy, and painless.
Yes, there is a way to do this. I found an addin that offers a free community edition addin. SSMS Boost offers some helpful features that bypass the shortcomings of SSMS.
To auto refresh, I setup the shortcut for F5 to Run Query and then Auto Refresh Intellisense. Now, everytime I execute, my intellisense cache is automatically refreshed. Seems to replicate the functionality of auto refresh in Red Gate's SQL Prompt Experimental functionality.
来源:https://stackoverflow.com/questions/9020440/sql-server-2008-management-studio-intellisense-auto-refresh-not-manually-throug