- changed status to duplicate
Show usages navigates to wrong subtab for aura component
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:
- Create an apex class with @AuraEnabled method.
- Create an aura component which uses the class, and calls the method from its controller.
- Close the aura component.
- Ctrl-Click the method name.
- This opens the component in the editor tabs with the “Controller” subtab open and the method reference highlighted.
- Return to the apex class editor tab, leaving the component editor tab open.
- 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)
-
repo owner -
repo owner Yep, take a look at
#1344for 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. -
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.
-
repo owner Well, I spoke too soon. Further testing led me back to the details of the root cause issue in the JetBrains plugin SDK. I've provided full details to JetBrains so hopefully they'll be able to provide a fix. Here are the details if you're curious:
https://youtrack.jetbrains.com/issue/IDEA-216891#focus=streamItem-27-3700597.0-0
Keep an eye on
#1344for further information. -
repo owner - changed component to Aura
- Log in to comment
Duplicate of
#1344.