Inside VS 2010 I do not have any intellisense working. I have reinstalled everything and still nothing is coming up for intellisense???
1) Use the Tools->Options menu command, select the Text Editor->C# settings, and then check the two circled check boxes above (Auto-list members and Parameter information). IntelliSense will then be turned on and work fine.
Razor View Engine is a markup syntax which helps us to write HTML and server-side code in web pages using C# or VB.Net. It is server-side markup language however it is not at all a programming language.
Right-click on the Views/HelloWorld folder, and then Add > New Item. In the Add New Item - MvcMovie dialog: In the search box in the upper-right, enter view. Select Razor View - Empty.
If you have resharper installed then you'll need this update which should fix it.
@Cameron - The issue is caused by Resharper not automatically "triggering" intellisense in Razor documents. You can manually invoke the intellisense using Control-Space. So @DateTime. will not give you any options, but if you do @DateTime. and then hit control-space it will bring up the intellisense for the DateTime object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With