View Full Version : [CLOSED] VS2010 EXT Intellisense possible in JS files?

Jul 13, 2012, 12:24 PM

Is it possible to have intellisense vorking in JS files as it does on VB or C# one?

for example, I have a lot of message like that in VS :

intellisense message Ext is undefined

in fact, in all line in my javascript file where I use Ext to do something, I have this message.

Jul 13, 2012, 2:33 PM

Maybe this thread could help.

Jul 13, 2012, 2:45 PM
I have already read it, I have found by googled the question, but the goal was to not upload Ext.js as it is already in Ext.net (well...lore or less), it is just to now if it will be a solution directly with Ext.net. If not, this is not a big problem anyway.

Jul 13, 2012, 7:09 PM
the goal was to not upload Ext.js

Well, seems the thread doesn't lead to upload ExtJS.

It suggests to put

Have you put

/// <reference path="extjs/ext-debug.js" />

(adjust path as appropriate!)

At the top of your JS files, to help the intellisense?

You could try to refer these JavaScript files as an attempt to get intellisense working.

<Ext.Net v2 sources root>\Ext.Net\Build\Ext.Net\extjs\ext-all-debug.js
<Ext.Net v2 sources root>\Ext.Net\Ext.Net\Build\Ext.Net\extnet\extnet-all-debug.js

Though I am not sure it will work. Frankly, I have never met any lucky who got it working.