I am having trouble with navigate the code path by using "Go to definition" / "Peek Preview" for one project.
I also don't see any SFDX commands on Command palette. The project has below structure. (I have other trailhead projects where the navigation works perfectly fine)
I only see these commands for SFDX:
When right click and go to definition on a method of a class, I see "No definition found". I tried couple of things:
adding Java path to User Settings.
This did not help me - Navigate to method definition in VSCode
Installed VS Code extention - Salesforce Language Support - https://marketplace.visualstudio.com/items?itemName=chuckjonas.apex-autocomplete , but this did not help. It created .vim-force.com and .vscode files
Note - this is only for this specific project. I think it could be because it is missing some configuration? This project is used to deploy only to sandboxes and not scratch orgs as of now.
Any help is appreciated!