Autocomplete for System.Address type variables as incomplete

Issue #1961 resolved
Attila Hajdrik created an issue

When a variable has Address or System.Address type (probably other System types are affected as well?) autocomplete and colorization missing the methods, while the generated stub types are correct.

The 4 get* methods showing up are invalid for the Address type though, some kind of default perhaps?

Comments (9)

  1. Scott Wells repo owner

    Attila, I'm not seeing the same behavior:

    Issue_1961.png

    Given the completions that are being offered, e.g., , getSObjectType(), does your OST include an SObject named Address in the Schema namespace? Or do you have a local class with that name in the project?

  2. Scott Wells repo owner

    Okay, and are the methods listed in the first screenshot from that class? If so, it looks like perhaps IC2 is resolving System.Address to the local Address for some reason.

  3. Scott Wells repo owner

    Thanks for confirming. Should give me enough to reproduce, debug, and (hopefully quickly) fix.

  4. Scott Wells repo owner

    Sure enough, reproduced immediately. I'll spend a bit of time debugging it this afternoon and hopefully get a fix in the next build.

  5. Log in to comment