Asp.net mvc view engine - roll my own intellisense

I am creating a small mechanism for viewing special targets for asp.net mvc. This is good enough. But I was looking for information to somehow add intellisense for the C # code embedded in my view.

I see that Spark is doing this, but going through the sources, I still don’t see how to do it. And the WebForms browsing engine does this - unsurprisingly - to perfection. Anyone have any suggestions or links or something related to how to do this?

Update: just to let users know, I'm still looking for a solution! So keep answering :) :) I will send it here and there when I learn more.

/ Asger

+3
source share
2 answers

Looking at the Spark source, it looks like he is hosting his editor in the Visual Studio 2008 IDE, so that he gets C # intellisense for free.

You might want to check out the Visual Studio 2008 SDK 1.1 and see if there is anything there to help you.

http://www.microsoft.com/downloads/details.aspx?familyid=59EC6EC3-4273-48A3-BA25-DC925A45584D&displaylang=en

+3
source

Here you can find some tips:

How to add intellisense to my application?

Googling is insanely complicated, as you get all kinds of hits allowing intellisense , as wonderful intellisense, as bad intellisense , etc.

+2
source

Source: https://habr.com/ru/post/1713384/


All Articles