VS2010 an ExtJS Intellisense

Page 1 of 2 12 LastLast
  1. #1

    VS2010 an ExtJS Intellisense

    Hi,

    i just want to ask if there are any new news on having Intellisense in
    Visual Studio 2010 for ExtJS within the XScript Tag.

    There where ideas of severals includes like

    /// <reference name="Coolite.Ext.Web.Build.Resources.Coolite.extjs.adapter.ext.ext-base.js" assembly="Coolite.Ext.Web" />
    /// <reference name="Coolite.Ext.Web.Build.Resources.Coolite.extjs.ext-all-debug.js" assembly="Coolite.Ext.Web" />
    I found the threat with the DLL replacement for VS2010, but this in my optinion not such a good idea
    and with jQuery it works like a charm.

    Greetings.
  2. #2
    Hi,

    I think problem is related with VS because it cannot handle ExtJS files properly. After I added those references I got
    Warning 1 Error updating JScript IntelliSense: D:\Projects\Coolite\svn.ext.net\trunk\Ext.Net.Sand box\Vlad\ext-all-debug.js: 'style' is null or not an object @ 4920:12 D:\Projects\Coolite\svn.ext.net\trunk\Ext.Net.Sand box\Vlad\JScript2.js 1 1 Ext.Net.Sandbox
  3. #3
    This is something I'm going to try and spend some time working on. It should be possible to get this working, at least with the latest release of Ext.NET (and possibly VS 2010 only).
    Geoffrey McGill
    Founder
  4. #4
    Hi Geoffrey,

    thanks, I also think this feature would reduce support questions on the ExtJS API ;-)
  5. #5
    The Feature ticket has been created.
    https://extnet.lighthouseapp.com/pro...-visual-studio
  6. #6
    any updates on this?
  7. #7
    I think ExtJS intellisense won't work in VS 2010.

    But I have heard that it somehow works in VS 2012.

    Hope this helps.
  8. #8
    If someone knows more about ExtJs/Net and VS2012 please share.

    I couldn't make it working. Tried references, setting in options/JS, but except a simple list with already used properties/variables and
    sometime with full list of functions (but not contextual list) I had no luck.
    Unfortunatelly, seems the guys from ExtJs don't plan to support VS.


    Quote Originally Posted by Daniil View Post
    I think ExtJS intellisense won't work in VS 2010.

    But I have heard that it somehow works in VS 2012.

    Hope this helps.
  9. #9
    I also was unable to get it working.

    Unfortunatelly, seems the guys from ExtJs don't plan to support VS.
    What could they do for that?

    I think it is rather VS doesn't support it...
  10. #10
    I was partially able to get it working in VS2012 by adding the required references into _references.js.
    See this: http://blog.craigtp.co.uk/post/Javas...udio-2012.aspx

    Then you just add both ext.net and extjs javascript debug files with comments using this format:
    /// <reference name="resource-name" assembly="assembly-name" />
    Also for XScript sections you have to do something like:
    <%-- <reference path="~/Scripts/_references.js" />  --%>
    To read JSDoc compatible portions of the comments in ExtJS you need this:
    Web Essentials 2012
    http://visualstudiogallery.msdn.micr...b-6f451ea3bea6

    Problem is that ExtJS does not actually use JSDoc, they use their own stuff called JSDuck.
    So somebody needs to write a JSDuck extension for Visual Studio similar to the JSDoc one that's included in WE2012.
    http://msdn.microsoft.com/en-us/libr.../hh874692.aspx

    What you get from the current state of affairs is that some Intellisense works; it recognizes the Ext namespace, some functions, and properties.
    What doesn't work is anything in Ext.override or Ext.define, which is quite a bit of stuff. Forget about it understanding xtype.
    The #{} stuff in XScript will probably never work cause that's not even valid JavaScript.

    I'm no JS Guru, but I think the very "stringly" typed inheritance of ExtJS has something to do with very poor Intellisense.

    I am actually considering looking at WebStorm for Sencha Touch development, if the buzz is true.
    Hoping to combine that with ASP.NET Web API on VS 2012.
    Too bad Sencha does not sell the Eclipse plugin separately, you have to buy Sencha Complete or Sencha Touch Bundle to get it for $$$.
    Last edited by ltctech; Mar 25, 2013 at 9:04 AM.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] VS2010 EXT Intellisense possible in JS files?
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 13, 2012, 7:09 PM
  2. VS2010 and ExtJS Intellisense
    By Wellington Caetano in forum 1.x Help
    Replies: 2
    Last Post: Jun 07, 2011, 1:37 PM
  3. [CLOSED] [1.0] Intellisense in VS2010 Release Candidate
    By danielg in forum 1.x Legacy Premium Help
    Replies: 46
    Last Post: Apr 12, 2010, 3:38 PM
  4. [CLOSED] Intellisense of EXTJS
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 15, 2009, 8:53 AM
  5. Replies: 2
    Last Post: Aug 07, 2008, 3:35 PM

Tags for this Thread

Posting Permissions