Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 713 posts 954 karma points
    Jan 21, 2014 @ 06:43
    Tom
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 21, 2014 @ 08:17
    Dennis Aaen
    0

    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 

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 28, 2014 @ 14:51
    Dennis Aaen
    0

    Hi Tom,

    Did you had time to try using CurrentModel to get intellisense working for Model when you´re write your macroScripts?

    /Dennis

     

Please Sign in or register to post replies

Write your reply to:

Draft