I recently did a new install of VSCode and SFDX CLI on a new Macbook. So versions are recent. I have updated SFDX since this error but it still exists.
sfdx-cli/7.152.0 darwin-x64 node-v16.15.0
- What I am doing:
I am deploying an Apex Class by Right Clicking on the file in the editor and choosing "Deploy this source to org", I have also used a terminal command to deploy source.
- What is happening:
Typical errors are being returned into the Problem Log.
- What is the issue:
However clicking on those errors I get taken to a file that does not exist and get this error (see pics) -
"The editor could not be opened because the file was not found"
Take Note of 1. The Breadcrumbs and 2. in problems the Class file and exyension a followed by a root path "/" then force-app
see the second error is from PMD it is responding properly and the problem is linked to the correct file, note the start of each path "/" vs "".
How can I fix this Path issue, it seems to be a bug but maybe it is a configuration. I cannot find any other complaints about it.