No completion for AuraHandledException

Issue #656 resolved
James Estevez created an issue

System Info

IntelliJ IDEA 2017.1.5  Build #IU-171.4694.70
JDK: 1.8.0_112-release
VM: OpenJDK 64-Bit Server VM
Vendor: JetBrains s.r.o
OS: Linux
IC Build: 20170703131103
SFDX Version: sfdx-cli/5.6.22-f9533ba (linux-amd64) go1.7.5 sfdx

Steps to Reproduce

  1. sfdx force:project:create -n TestApp
  2. File > New > Project from existing sources...
  3. Create an Apex Class and type:
public with sharing class TestClass {
    public static void throwAuraException() {
        throw new AuraHand<TAB>
    }
}

Expected result

Tab completion outputs AuraHandledException()

Actual result

Nothing.

NB: I'm using a live template as a workaround, so this is merely informational. Thanks.

Comments (4)

  1. Scott Wells repo owner

    Thanks, James. I'll take a look and see whether it's being included in the API responses that I use to build the OST. If it's not, I'll need to stub it in and report the omission to Salesforce. Either way it should be a pretty simple fix. I'll try to include it in the next build which I'm currently targeting for early-to-mid the coming week.

  2. Scott Wells repo owner

    Yep, it's missing from the API responses. I'll go ahead and stub it in. Far from the first time I've had to fill in gaps that way. Thanks for reporting!

  3. Log in to comment