aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

No intellisense when typing '@section' in razor file #198

Open kichalla opened 9 years ago

kichalla commented 9 years ago

image

But once I complete typing the @section, I see it highlighted image

BillHiebert commented 9 years ago

@ToddGrun

kichalla commented 9 years ago

FYI...I am using the Canary build.

ToddGrun commented 9 years ago

@madskristensen

We've got a workitem to do this, but are waiting on support from Roslyn to do so.

NTaylorMullen commented 9 years ago

@kichalla reason why this is a little tricky is because the second you type @ you're telling the Razor parser that you want to write C#. However, we overload that terminology to also provide Razor directives such as @section, @model etc.. Therefore, to make this work we need to plugin to Roslyn to provide extra IntelliSense for Razor directives.

kichalla commented 9 years ago

@NTaylorMullen ah ok, thanks for the explanation!

sayedihashimi commented 9 years ago

Adding @madskristensen

sayedihashimi commented 8 years ago

TFS: 168982 I've added this to our internal TFS, we will reply back here soon.

webtools-bot commented 7 years ago

The GitHub Issue Tracker for the aspnet/Tooling repo is being deprecated in favor of Visual Studio's Report a Problem tool.

If this issue is still a problem with the RTW release of Visual Studio 2017, please report a new issue using the Report a Problem tool. While you can still use .NET Core and ASP.NET Preview tools with Visual Studio 2015, Visual Studio 2017 is now the officially supported tool for developing .NET Core and ASP.NET Core projects.

By using the Report a Problem tool (available in both VS 2017 and VS 2015), you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See Visual Studio's Talk to Us page for more details.

Please use the discussion topic here for feedback and questions on the deprecation of this issue tracker. Thanks!