1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    3
    Vote Rating
    0
    xosoad is on a distinguished road

      0  

    Question Configuring ExtJS in Intellij Idea 9.0.2

    Configuring ExtJS in Intellij Idea 9.0.2


    Hello Community,
    How to configure IntelliJ Idea 9.0.2 to have code completion for Ext JS 3.2.1 ?
    Any help would be highly appreciated!
    Regards,
    xoSoad

  2. #2
    Sencha User TopKatz's Avatar
    Join Date
    Mar 2007
    Posts
    337
    Vote Rating
    1
    TopKatz is on a distinguished road

      0  

    Default


    When you start a project that has the ext framework in its path IDEA should just add it.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    239
    Vote Rating
    2
    stephen.friedrich will become famous soon enough

      0  

    Default


    You have to copy the ExtJS file(s) to your local project.

    Note also that if you are using the single file with debug info that is 2.6 MB large which is a bit more than the default file size that IDEA will fully process.

    Look at the idea.properties file in the bin folder of IDEA's installation folder, then change
    idea.max.intellisense.filesize=2500
    to
    idea.max.intellisense.filesize=3000

    Or maybe even better include the individual ExtJS files during development and the single one only for deployment.

  4. #4
    Ext User
    Join Date
    Apr 2010
    Posts
    3
    Vote Rating
    0
    xosoad is on a distinguished road

      0  

    Default


    Thanks for replies.
    And an other things, how add the ExtJS documentation in my IDE

  5. #5
    Ext User
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    0
    paldr is on a distinguished road

      0  

    Lightbulb


    You may vote for the related issue in issue tracker - http://youtrack.jetbrains.net/issue/IDEA-41760

  6. #6
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by xosoad View Post
    Thanks for replies.
    And an other things, how add the ExtJS documentation in my IDE
    Use a local web server.

  7. #7
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by paldr View Post
    You may vote for the related issue in issue tracker - http://youtrack.jetbrains.net/issue/IDEA-41760
    How is this related to the original question?

  8. #8
    Ext User
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    0
    paldr is on a distinguished road

      0  

    Default


    Directly. Currently the only way to get code completion for external JavaScript libraries is to add them to source root. This is not convenient as sources get cluttered up, libraries appear in search results, etc.

    The ability to have the notion of JavaScript library would solve these problems. Letting alone the fact that in Java world external artifacts such as JavaScript libraries might even be packed in JAR files.

  9. #9
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    18
    Vote Rating
    1
    toddgeist is on a distinguished road

      0  

    Default


    Hello,

    I have placed Ext 3.2.1 debug in a folder in my project and set the idea.max.intellisense.filesize=3000. I restarted intelliJ but I still don't get code completion.

    This is a grails application. Does that matter?

    Is there anything else I need to setup?

    Does the project type matter?

    Thanks

    Todd

  10. #10
    Sencha User
    Join Date
    Mar 2010
    Posts
    12
    Vote Rating
    0
    john.dunlap is on a distinguished road

      0  

    Default


    I do it like this in IntelliJ IDEA 10 Ultimate

    1) Download ExtJS and extract it into a folder that is outside of your project.
    2) File -> Project Structure -> Libraries -> Attach Sources
    3) Select the folder that you extracted ExtJS into

    IDEA should then take some time indexing Ext and then your auto-completion will work like a charm

    Cheers!
    -John

Similar Threads

  1. More one example for extjs take off idea
    By bigice in forum Community Discussion
    Replies: 3
    Last Post: 7 Jun 2010, 12:22 PM
  2. IntelliJ IDEA 9.0 Beta 1 released
    By jay@moduscreate.com in forum Community Discussion
    Replies: 3
    Last Post: 6 Nov 2009, 8:21 AM
  3. Configuring Ext-GWT in Intellij Idea 8.1
    By avilanchee in forum Community Discussion
    Replies: 13
    Last Post: 22 Jul 2009, 5:12 AM
  4. Woohoo! Intellij IDEA 9.0 M(ilestone)1 is out!
    By jay@moduscreate.com in forum Community Discussion
    Replies: 8
    Last Post: 10 Jul 2009, 10:02 AM
  5. Idea for mainstream extjs implementation - torrent webgui
    By Vaevictus in forum Community Discussion
    Replies: 2
    Last Post: 30 Aug 2008, 9:12 AM

Thread Participants: 7

Tags for this Thread