What must I do if I receive the notification - vscode go to definition not working?
When I'm developing Java code, I frequently Cmd-Click on Mac or Ctrl-Click on Windows to go to the definition of a method, class, constructor, etc. however when I'm developing Salesforce APEX code it only works some of the time.
It seems to work on some methods (ones the same class seem to work reliably but other classes are more hit and miss) and class definitions seem to work most of the time. Methods in a super-class never work as far as I can tell.
Is the Salesforce VS Code extension just broken or is there something I can do to fix it?
In case of vscode go to definition not working -
I would run an SFDX: Refresh SObject Definitions to make sure all definitions are imported. Also check that your Java runtime for the Apex language service is configured correct in Apex Extensions settings as shown below Also, you can try deleting the cache of the APEX Language Server which is located at PROJECT_DIR/.sfdx/tools/apex.db