简体   繁体   English

SQL Server 2008管理工作室intellisense自动刷新(不通过菜单或键盘快捷键手动)

[英]SQL Server 2008 management studio intellisense auto refresh (not manually through menu or Keyboard shortcut)

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. SQL服务器管理工​​作室中的intellisense功能早就应该了(特别是对于那些习惯于Visual Studio intellisense的人来说很难)并且很高兴看到它被添加到SQL Server 2008中,但我认为它仍缺少一个功能。 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 . 但更快捷的方法就是按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. SSMS Boost提供了一些有用的功能,可以绕过SSMS的缺点。

To auto refresh, I setup the shortcut for F5 to Run Query and then Auto Refresh Intellisense. 要自动刷新,我将F5的快捷方式设置为Run Query,然后设置Auto Refresh Intellisense。 Now, everytime I execute, my intellisense cache is automatically refreshed. 现在,每次执行时,我的intellisense缓存都会自动刷新。 Seems to replicate the functionality of auto refresh in Red Gate's SQL Prompt Experimental functionality. 似乎在Red Gate的SQL提示实验功能中复制了自动刷新的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM