dotvvm
dotvvm copied to clipboard
Intellisense for extension methods in markup files in Visual Studio 2022
Currently I don't get any
In this example, GetDescription()
is an Enum extension method and AsHTMLBoldText()
a string extension method.
maybe you should add the namespaces to the top of the file. I'm not sure if it works or not. Sample:
@viewModel MyApp.ViewModels.MyPageViewModel, MyApp
@masterPage Views/MyMasterPage.dotmaster
@import MyApp.Info // <-- this line
...
I tried @import
variants including stuff like:
@import _ = MyApp.Code.EnumExtensions
@import static MyApp.Code.EnumExtensions
None succeeded unfortunately.