In my VS Code, when I right-click on an Apex class I can't see 'SFDX:Diff File Against Org' command. But this is perfectly working for Aura components or Visualforce Pages. The problem only exists with Apex classes. I have reinstalled VS code two or three times to solve this issue. And also tried 'sfdx plugins:install @salesforce/sfdx-diff' command to install the plugin.


But nothing worked for me.Can someone hlep me out to solve this issue if you have gone through this before?

enter image description here

  • 1
    Did you run "sfdx plugins:install @salesforce/sfdx-diff" to install the plug-in? – Bahman.A Apr 5 at 18:33
  • @Bahman.A yes Bahaman. But it didn't work – Ruklani Attanyake Apr 5 at 18:53

Your Answer

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

Browse other questions tagged or ask your own question.