Apex Go To Declaration seems to prefer OST
Issue #1571
resolved
Reproduction:
- Create new project (I’m using sfdx based with Sandbox org)
- Connect to existing org with custom Apex classes
- Let it generate the OST
- Download all Apex classes (non namespaced)
- Go to some apex code
- Attempt to go to definition on a method that is present in both the OST & a local copy of (from step 4)
- Taken to the OST version (no method body)
Workaround is naturally to regenerate the OST
Comments (5)
-
repo owner -
reporter Sadly I’ve just seen this reoccur (noticed because a method was showing as unused) on a separate org
IC2 2.1.1.8
-
reporter - changed version to 2.1.1.8
updating version tag
-
repo owner Thanks for letting me know. I'll see if I can find whatever is still causing this.
-
repo owner - changed status to resolved
Issue tracker grooming. I've tried to address this a few different times and it kept coming back up. If you're still seeing it and especially if you have reliable reproduction steps, please let me know.
- Log in to comment
Interestingly I have a change for the next release that may address this. If not, I'll certainly look into it further because obviously that can lead to confusion at best, but likely issue with features that depend on finding the right source as well.