IC suggestions missing after update.

Issue #1573 resolved
Justin Julicher created an issue

In a SFDX org the intentions it seems IC is updating it’s method signatures too fast and so when I am writing get <ctrl space> nothing is appearing. Look at the structure (bottom left) in this image and then compare in the next image where get hasn’t altered and destroyed the signatures.

Saw that you are support latest webstorm 20 so updated to that with the latest IC build.

Comments (8)

  1. Justin Julicher reporter

    Does that make sense? When I start typing as soon as I type g the signatures in the structure change and then code completion also loses the method signatures.

  2. Justin Julicher reporter

    Ok cleared all the caches and that seems to have helped but the issue is still there.

    Can we do that automatically after an update like this in the future?

  3. Justin Julicher reporter

    Also seeing this when there are no real results after a space bar double tab:

    any idea what that is?

  4. Scott Wells repo owner

    Justin, I'm not sure. I'm unable to reproduce it. I properly get No suggestions when there are no partial match completions. Anything in your idea.log when this happens after rebuilding caches?

    Oh, and the appropriate indices were versioned to rebuild automatically in this 2020.1 update. The relevant ones are the stub indices. You should see an reindex of that every time you open a project for the first time after updating.

    Another thing you might try is a scorched earth rebuild of the indices:

    1. File>Invalidate Caches / Restart
    2. Allow the IDE to restart and indexing to complete.
    3. Illuminated Cloud>Configure Project>Rebuild Caches & Indices
    4. Allow the project to close and reopen.

    The second rebuild is only necessary because of a weird behavior where a full IDE reindex for some reason doesn't include the files in the OST. I've reported this to JetBrains but the steps identified above are the workaround.

  5. Justin Julicher reporter

    Ok that seems to have done it after I repeated it a few times and did it on both projects I had open.

    thanks!

  6. Scott Wells repo owner

    I'm glad you're in good shape, but if you're seeing different results after each attempt at those directions, something is wrong. Those steps taken together should represent an idempotent operation.

  7. Scott Wells repo owner

    I'm going to resolve this since you're in ship shape now, but I may push a new build of the plugin that rebuilds ALL IC indices instead of just the stub indices.

  8. Log in to comment