How Visual Studio Intellisense works?

核能气质少年 提交于 2019-12-06 04:17:23

问题


Can somebody please shed light on how exactly intellisense works in Visual Studio?


回答1:


Here's an MSDN article providing an overview. It discusses features, language specific topics, customation, when it's not available and a number of other topics.




回答2:


The secret behind intellisense is Build Providers, which run in the background. This article will throw more light on this topic:

http://aspalliance.com/1102_Creating_a_Custom_BuildProvider_in_ASPNET_20

Hope this helps,




回答3:


Background compilation, really. Visual Studio continuously compile your code as you type them, with bit more lenience compared to standard compiler of course, since your code isn't completed yet. Notice that other than listing a new class member as you add them, it also detect errors in your code right away. If you did this before VS 2008 SP1 though, you'll instead envy the VB camp



来源:https://stackoverflow.com/questions/5348744/how-visual-studio-intellisense-works

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!