When deploying apex code with errors in it through SFDX, VS Code displays a handy list with convenient click-to-view functionality.

But, as soon as I start to edit my file for the first problem, all the problems disappear off the list.

Is it possible to keep problems from disappearing until the next time I deploy?

enter image description here


This seems to be a bug in the salesforce vscode extension and you should outline the problem in the open source project here

I got around some of these problems by creating my own extension which seems to work for me .I open sourced and made it available here.Feel free to use it along with salesforce extension .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.