Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 36

Thread: Doesn't work - can't auto-complete Ext.Ajax.request

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    Yes I am... all code is hosted on local VM which I'm accessing through Samba. I intend to change that, but should that really affect the operation of this plugin?

    Thanks!

  2. #12
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    So I copied all the files out of network drive. Upon opening that folder, a rather lengthy (40 seconds maybe) "Indexing ExtJS" appeared on the bottom. Then intellisense didn't work period. Upon examining the ExtJS log as per your previous instructions, I saw the following:

    2016-11-15T18:31:54.042Z - info: tern executable path : C:\Users\Ivan Jouikov\.vscode\extensions\Sencha.vscode-extjs-1.0.0\tern\win32\tern-win32
    2016-11-15T18:31:54.138Z - info: tern executable permission granted
    2016-11-15T18:31:58.123Z - info: [tern output] - environment: unknown (tern v233)


    Any idea?

    Thanks!

  3. #13
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    Now if I do Ctrl+P it just shows 'Loading' with spinner and nothing happens.

  4. #14
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    Did it ever finish indexing? You can tell by looking at .sencha/temp/.ide/status.json. You should see:

    Code:
    {"pctComplete":100}

  5. #15
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    Shows 100

  6. #16
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    Hmm... kinda stumped then... Is there anything else in the logs or does it just end with: 2016-11-15T18:31:58.123Z - info: [tern output] - environment: unknown (tern v233)?

    One thing I've run into before is problems with indexing bootstrap.js (created by cmd). If you have that file you could try adding it to your exclude paths. The plugin should automatically skip it but maybe it's not for some reason?

  7. #17
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    Nothing else in that log...

    I changed config.json to have

    "exclude": [
    "bootstrap.js"
    ]

    ...I didn't see any sort of re-indexing afterwards, even after reloading the VSC, but didn't seem to help at all.

  8. #18
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    Is there anything in the log after restarting?

  9. #19
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    149
    Answers
    2

    Default

    No same thing

  10. #20
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    The plugin uses a node server called tern.js to provide code completions. I'm guessing that server must be dying at startup for some reason. Do you see any processes called tern.exe running?

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [CLOSED] Ajax/JSONP request doesn't work..
    By robl in forum Sencha Touch 2.x: Bugs
    Replies: 7
    Last Post: 14 Jul 2014, 11:46 AM
  2. [CLOSED] [PR3] method parameter doesn't work in Ext.Ajax.request()
    By mishoboss in forum Sencha Touch 2.x: Bugs
    Replies: 9
    Last Post: 23 May 2012, 1:41 PM
  3. Auto complete for extjs does not work in eclipseIDE
    By kalyanvgopal in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Feb 2012, 8:42 AM
  4. ext.ajax.request doesn't work in firefox3
    By chuguanyu in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 6 Dec 2008, 1:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •