The way that you can get intellisense for Model when you´re write your macroScripts is by using CurrentModel instead of Model, then it's possible to get intellisense.
When you have written you Razor, you can change the CurrentModel back to Model, but you don´t have to. Your Razor scripts should work with CurrentModel too.
Intellisense in items in macroScripts folder post nuget install
Hi just wondering if it's possible to get intellisense for Model for items in the macroScripts folder in v7?
I've installed umbraco from nuget and getting good intellisense in views but unforunately not macroscripts.
Cheers
Hi Tom,
The way that you can get intellisense for Model when you´re write your macroScripts is by using CurrentModel instead of Model, then it's possible to get intellisense.
When you have written you Razor, you can change the CurrentModel back to Model, but you don´t have to. Your Razor scripts should work with CurrentModel too.
/Dennis
Hi Tom,
Did you had time to try using CurrentModel to get intellisense working for Model when you´re write your macroScripts?
/Dennis
is working on a reply...