-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go to definition not working (and all associated functionalities) #5910
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hi @SPSFClarivate , I would like to know what kind of errors you might have -
|
Hello @mingxuanzhangsfdx,
|
@SPSFClarivate Thanks for the reply. Could you try deleting all folders under |
Hello, I already did many many times and nothing changed. Thanks :) |
@SPSFClarivate Thanks for your reply. Do you get a chance to recall for how long you have been in this issue? Does it work if you downgrade the version of Apex extension? From your screenshot, you are referring to the class implemented by you. I am wondering if the From the output info you shared, I do not see any outstanding error. Could you go to the setting page of VSCode, and set 'verbose' for |
Hello, I had this issue for a long time, and I thought everyone was affected by this, but then my colleague showed me on his mac. Here is the trace when I try to go to definition against line 541 of Data.cls. Which should open the method definition "ValidateCRUDFLS" as I click on the method, within the class Query.cls: `[Trace - 8:45:10 AM] Sending request 'textDocument/codeAction - (19)'. [Trace - 8:45:10 AM] Received notification 'telemetry/event'. [Trace - 8:45:10 AM] Received response 'textDocument/codeAction - (19)' in 4ms. [Trace - 8:45:10 AM] Sending request 'textDocument/definition - (20)'. [Trace - 8:45:10 AM] Received notification 'telemetry/event'. [Trace - 8:45:10 AM] Received response 'textDocument/definition - (20)' in 4ms. [Trace - 8:45:11 AM] Sending request 'textDocument/codeLens - (21)'. [Trace - 8:45:11 AM] Received notification 'telemetry/event'. [Trace - 8:45:11 AM] Received response 'textDocument/codeLens - (21)' in 2ms. ` And now the starting trace: 08:50:02.716 [Apex Prelude Service STARTING] INFO a.j.l.i.s.ApexPreludeManagedService - Scanning built-in and system Apex types. And it is working onto Salesforce code on my machine, so System.debug, does open the System class. I will compare with him today :) |
Hello please don't close this one, I won't be able to answer for a week, holidays, but I will be back :) Thanks for your help |
@SPSFClarivate Since the issue is reproducible on both you and your colleague's windows computer, would you like to try to provide me an example project where the issue happens to both you and your colleague? This is the best way for us to figure our the root cause. |
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted. |
Hello @mingxuanzhangsfdx, I created a project a small project with only 2 cls classes and it worked. I will be on holidays for 2 weeks again, but I will compare the properties of the projects. I believe they will be very similar or the same. The only main difference is that we have a huge code base on our product. Thanks |
Summary
When trying to Ctrl click, or use the Go to definition in VSC, it doesn't work. When doing the mouse hover, I got a: "!Unresolved!"
Steps To Reproduce:
Expected result
The distant class should open
Actual result
Nothing happens
Additional information
Salesforce Extension Version in VS Code:
v62.0.0
Salesforce CLI Version:
@salesforce/cli/2.62.6 win32-x64 node-v20.17.0
OS and version:
Windows 10
VS Code version:
1.94.2
Most recent version of the extensions where this was working:
My colleague on macbook for the same project.
The text was updated successfully, but these errors were encountered: