Question

I’m trying to start programming with Durandal and AMD modules in VS 2013. In c# I’m using intellisense heavily and I would like to use it also in AMD modules. Is there any way to enable this in VS 2013? I have already tried this approach http://landofjoe.com/blog/ill-take-my-durandal-with-intellisense-please but it works only in VS 2012.

Was it helpful?

Solution

Unfortunately, no. You would have to modify the require.intellisense.js file yourself to get it to work. This fellow that answered the question linked here seems to have gotten it to work for himself.

OTHER TIPS

I've just made intellisense work with Durandal and all other stuff in Visual Studio 2013, Update 5, after reading this blog post, though it should work with Update 4 too.

Delete that require.intellisense.js from your project, add _references.js if you don't have one into your Scripts folder put into the first line this:

   /// <reference path="require.js" start-page="/index.html" />

Of course reference path should be correct for your case.

That's it! Now you should have intellisense working.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top