Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code, No code completion for c# code inside cshtml razor

Im having a problem with using Visual Studio Code for editing CSHTML files. im using windows. This is ordinary web matrix page not MVC..

@{

MyClass my = new MyClass();

MyClass.

}

No intellisense at all... Am I missing an extension or something..

like image 623
Joshua Belarmino Avatar asked Jun 15 '16 04:06

Joshua Belarmino


1 Answers

It's something others have noticed as well. Apparently it's an upcoming feature with no ETA.

david-driscoll:

We'll be adding support to OmniSharp eventually to support Razor, sadly I don't have a specific timeline. This is mainly because it's not a very easy problem to solve, but it is something we want to get working.

https://github.com/OmniSharp/omnisharp-vscode/issues/168

Update: This has been released, and is under active development see: https://github.com/aspnet/AspNetCore.

like image 114
rasmus91 Avatar answered Nov 08 '22 08:11

rasmus91