Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

intellisense with razor and VS 2010

Is there any way to get intellisense with razor in VS 2010, I am working on an application with web matrix and launched VS 2010 from WebMatrix.

like image 491
Rony Avatar asked Jul 07 '10 17:07

Rony


People also ask

How do I enable IntelliSense in Visual Studio 2010?

The fix was to look in Visual studio menu: Resharper > options Then select IntelliSense > General -> use IntelliSense features of: Visual Studio.

Does ASP NET MVC use razor?

Razor has no ties to ASP.NET MVC because Razor is a general-purpose templating engine. You can use it anywhere to generate output like HTML. It's just that ASP.NET MVC has implemented a view engine that allows us to use Razor inside of an MVC application to produce HTML.

What is razor in Visual Studio?

What is Razor? Razor is a markup syntax that lets you embed server-based code (Visual Basic and C#) into web pages. Server-based code can create dynamic web content on the fly, while a web page is written to the browser.

What is .NET core razor?

Razor Pages can make coding page-focused scenarios easier and more productive than using controllers and views. If you're looking for a tutorial that uses the Model-View-Controller approach, see Get started with ASP.NET Core MVC. This document provides an introduction to Razor Pages. It's not a step by step tutorial.


1 Answers

Yes, wait, patiently - intellisense support and other VS integration is coming according to the Gu

Update 28th July 2010

Scott has posted about MVC 3 here: Introducing ASP.NET MVC 3 (Preview 1)

Which, amongst a lot of other interesting stuff, contains the following:


Code Intellisense and Colorization

One of the things you might have noticed from the screen-shots above is that “Razor” file colorization and code intellisense is not yet supported in Visual Studio with today’s “Preview 1” release. We will be enabling full code intellisense and colorization with a future preview refresh. The VS 2010 editor will support Razor file intellisense for C#/VB code, as well as for HTML/CSS/JavaScript.


like image 51
Murph Avatar answered Oct 01 '22 01:10

Murph