I have performed below steps-

  • Install CLI
  • Install extensions "Salesforce Extension Pack" and "Saleforce CLI Itegration"

I am getting only few SFDX command options in Command Palette. Also i have tried uninstall VS Code multiple times but issue still persists.

Please suggest if i am missing some steps here.

enter image description here


Oh, I know the answer. You have to create a project first. Then and only then the other commands will become available for you

Well, yeah. That's the answer. But just to make it cleaner for you. All the commands, that exists in the palette works with scratch orgs, which can't be used outside a project, because of project-scratch-org.json file, that defines the shape of your scratches

  • Thanks for your response, i have cloned project from GIT repository, still i don't see Auth command available under command palette. Do i need to create the scratch project first to get the command available? – Pramod Singh Dec 14 '18 at 6:56
  • Well.. in case, if everything is set properly, you do not. May I ask you to list all the elements lay inside the folder? – being of habits Dec 14 '18 at 7:01
  • Its a test project created under GIT repository first... Not in same format as Eclipse or VS code project. I am trying to sync the sandbox code with GIT repository later on it will be used for deployment through Jenkins. – Pramod Singh Dec 14 '18 at 7:06
  • To be pedantic, it's the sfdx-project.json file that needs to exist. – sfdcfox Dec 14 '18 at 7:22
  • Oke, I got it. So, here's the flow: 1) create a sfdx project; 2) clone the repo inside it – being of habits Dec 14 '18 at 7:22

I was having this same issue after I created a project and tried to open vscode and log in. The solution I found was going to file -> open folder -> choose the project folder created originally. The options to login option will be available in the command palette.

It was confusing since in the explorer panel the file directory was showing the project files.

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.