PDA

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



feanor91
Jul 13, 2012, 12:24 PM
Hello

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.

Daniil
Jul 13, 2012, 2:33 PM
Hi,

Maybe this thread could help.
http://www.sencha.com/forum/showthread.php?181781

feanor91
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.

Daniil
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.