Show usages navigates to wrong subtab for aura component

Issue #1397 duplicate
James Melville created an issue

When I drill from an apex method to a usage of that method in an aura component, if the aura component is already open in the editor tab then I’m taken to the “Component” subtab instead of the “Controller” subtab.

Reproduction:

  1. Create an apex class with @AuraEnabled method.
  2. Create an aura component which uses the class, and calls the method from its controller.
  3. Close the aura component.
  4. Ctrl-Click the method name.
  5. This opens the component in the editor tabs with the “Controller” subtab open and the method reference highlighted.
  6. Return to the apex class editor tab, leaving the component editor tab open.
  7. Ctrl-Click the method name again.

Expected Behaviour: This navigates to the component in the editor tabs with the “Controller” subtab open and the method reference highlighted.

Actual Behaviour: This navigates to the component in the editor tabs with the “Component” subtab open.

Comments (5)

  1. Scott Wells repo owner

    Yep, take a look at #1344 for details. I actually traded emails with JetBrains again this morning and I think they may be providing a partial fix for me in the plugin SDK that will allow me to ensure that the current sub-tab is selected when needed.

  2. Scott Wells repo owner

    FYI, the next build (targeting tomorrow morning for release) will have another attempt to address this issue with proper sub-tab selection. Please let me know your experience after updating.

  3. Log in to comment