Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    57
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default Eclipse plugin issues

    Eclipse plugin issues


    Not sure if this is the proper place but didn't see a dedicated forum - please move if required.

    I was very excited about the Eclipse plugin announcement today and downloaded my Sencha Complete trial to test it out.

    I'm running Eclipse Indigo SR2 32 bit arch on Windows 7 64 bit machine. I got the plugin(s) to install ok following the directions in the download. I created my test project, imported the extra TL project and associated them as per the docs.

    I get *some* code completion - problem is that it's not anywhere close to as advertised in the intro video. I pretty much followed what was going on in the video I thought. In an otherwise blank js file I type Ext. and then get code complete options. I select onReady. Trouble is, it's still flagged as a warning that it takes 3 parameters. Ignoring this for the moment, I tried to continue and do Ext.create("Ext.button.Button", {...});

    I did not get ANY config completion options for this... it just didn't work.

    Am I doing something wrong? Is the plugin that somes in the eval version an old build? I notice in the video they use 4.1.1 but it doesn't look like this type library comes in the download...

    Would appreciate any feedback on this, especially before the trial runs out. Might consider purchasing if it worked as advertised, but right now it isn't for me.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,075
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    they use 4.1.1
    What version are you using? I will have to walk through this with you as it is new to me as well.

    Scott

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    57
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Seems like this is news to a lot of people - thanks for trying to help with something new

    The version mismatch in the Sencha complete trial download is maddening. The actual version of extjs that it comes with is extjs-4.1.2-commercial.zip. For the code completion in Eclipse to work, you're supposed to import an extra project with a bunch of metadata in it. The two in the download were extjs-typelib-4.0.7-gpl.zip and extjs-typelib-4.1.0-gpl.zip. I tried both but with results that were far inferior to the demo video; like I said, no completion for config objects whatsoever. Now, in the video the extra type library project in Eclipse looked like it was 4.1.1. This doesn't match either typelib file in the download... just a theory that the demo was showing a newer version of something than what comes in the trial download?

    It might be helpful if someone could export the sample from Eclipse that works and put it somewhere so others could try to download and import into Eclipse to see if it's a problem with the project setup or the plugin itself.

  4. #4
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    184
    Vote Rating
    53
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      0  

    Default


    I just downloaded Sencha Complete trial.

    Followed every step on the user guide and it is working:

    Screen Shot 2012-09-12 at 10.14.19 AM.png

    You can only have ONE ExtJSTL in your workspace. Otherwise it won't work.
    Also make sure to create a VJET project and add the ExtJSTL as a dependency on your project. And every time you create new files, create inside the src folder as a VJET javascript file. You also need to have the VJET perspective active.
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

  5. #5
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    184
    Vote Rating
    53
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      0  

    Default


    Now that I read again your comment, the project that you need to import into Eclipse is ExtJSTL-4.0.7.zip or ExtJsTL-4.1.0.zip (only one, not both) that is inside the Sencha_Eclipse_Plugin_Complete_Trial-1.0.0 folder.

    Then, when you create the VJET projet, add ExtJSTL-4.0.7 or ExtJsTL-4.1.0 as project dependency.

    You do not need to work with extjs-typelib-4.1.0-gpl.zip at all!
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

  6. #6
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    57
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    DOH! It's strange and unlucky for me that those similarly named files offer partial code completion when imported... wish they were just removed or their purpose was clearly stated as this seems an easy mistake to make.

    In any case, it appears to be working as advertised now - thanks for the assistance.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
    jonabics is on a distinguished road

      0  

    Default ExtJSTL-4.0.7.zip or ExtJsTL-4.1.0.zip plugin for windows

    ExtJSTL-4.0.7.zip or ExtJsTL-4.1.0.zip plugin for windows


    Hai Loiane,
    It's me Jona a sencha touch app developer using eclipse on windows. I am a fresher to sencha. I do find the ExtJSTL-4.0.7.zip or ExtJsTL-4.1.0.zip anywhere to download. Please navigate me to the site from where I can download the file.

    Reply me me. I have been positing many requests. Nobody is responding. Thanks