Custom Settings Same Name as Apex Class - can't resolve - autocomplete does not work

Issue #1342 resolved
Vít Bareš created an issue

In case that Custom Settings have same name as Apex Class (f.e. MyApi__c for custom settings and MyApi.cls for Apex class) illuminated cloud after generating offline symbols fails to recognize the Apex Class and therefore shows evetyhing in red and autocomplete does not work. However compilation runs OK.

Reproduce:

  1. create custom settings and apex class with same name (MyApi__c and MyApi.cls)
  2. generate offline symbols for autocomplete
  3. autocomplete for MyApi.cls is not working and class is not resolved

Workaround:

Renaming either cls or custom settings (after renaming custom settings to My_Api__c and regenarating offline symbols, everything is good again)

Comments (3)

  1. Scott Wells repo owner

    FYI, I'm unable to reproduce this now. That could be due to some changes I've made for Monday's build (2.1.0.1). I'm going to resolve this when that build is released as fixed, but of course if you do see it recur, please let me know.

  2. Scott Wells repo owner

    The changes in 2.1.0.1 (or perhaps some prior fix) seem to address this. Resolving, but if you still see it, please feel free to reopen.

  3. Log in to comment