Question

How do I get intellisense for Prototype / Scriptaculous like we get for jQuery in Visual Studio?

Was it helpful?

Solution

I might be wrong but I really doubt there is any for now.

For now, either you write your own and share with the world or wait for someone to create them.

PS: jQuery intellisense support was released as a hotfix for VS.NET. It makes sense as jQuery is sort of 'endorsed' by the MS guys. Chances for them to release similar support for other JS framework is unlikely I'll say.

OTHER TIPS

It's certainly not perfect, but you can get a little bit by adding

/// <reference path="path/to/prototype.js" />

to the top of your JavaScript files. Actually, if you have a JS file open in Visual Studio and you drag the prototype.js file into your open file, it will automatically add that reference for you.

This will give you very poor IntelliSense support, but perhaps it is better than nothing.

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