4

I have visual studio code installed in my desktop and updated SFDX to its latest version. However, when I open up the command palette for 'Create project', I am seeing only the following two options

'Create Project'

'Create and Setup Project for ISV debugging'.

enter image description here

I am not seeing the option of 'Create Project using manifest'. I need this option so that I can develop against a sandbox.

Am I missing something?

5
  • 1
    Are you running the latest version of Visual Studio Code? I also do not see the option, and realized I'm on 1.18. Waiting on compliance to upgrade, as the VSC Marketplace entry states that 1.26 is required.
    – David Reed
    Commented Oct 19, 2018 at 17:05
  • have you updated all salesforce plugins in Visual studio cod? Commented Oct 19, 2018 at 17:13
  • @DavidReed, I am using the 1.28 version of VS Code. And I have updated all Salesforce plugins in VS Code. Commented Oct 19, 2018 at 18:00
  • @DavidReed, your solution helped. I have updated VS Code to 1.28.2 and now the command palette is showing the option 'Create Project with Manifest'. Commented Oct 19, 2018 at 18:08
  • That's good to know. I'll add it as an answer if I can reproduce your success, since I'm having the same problem!
    – David Reed
    Commented Oct 19, 2018 at 18:09

2 Answers 2

4

This issue appears to be related to version dependencies in Visual Studio Code and the Salesforce DX Extension Pack, rather than the SFDX command-line tool itself. Having the latest version of SFDX does not make this command available in Visual Studio Code by itself.

The SFDX Extension Pack documents a minimum Visual Studio Code version of 1.26.

To successfully get access in the VSC command palette to the "Create Project with Manifest" operation, it was necessary to upgrade to the latest version of Visual Studio Code and also to explicitly install the latest version of the plugin Salesforce CLI Integration for Visual Studio Code. While part of the Extension Pack, this extension had either not been installed or had been disabled in my installation.

0

Perhaps this is the answer you are looking for then

Develop Against Any Org with VS Code

This is included in the newest version of the Salesforce Extensions for VS Code however

7
  • 3
    Balaji is asking about a new feature in SFDX that supports direct development against a sandbox.
    – David Reed
    Commented Oct 19, 2018 at 15:54
  • In that case is this what he is looking for? salesforce.stackexchange.com/questions/230969/…
    – weytani
    Commented Oct 19, 2018 at 16:01
  • That's probably a comment you should direct to Balaji, not me. You can comment on any post when you reach 50 reputation.
    – David Reed
    Commented Oct 19, 2018 at 16:43
  • Thanks for the pointers. However, my issue is that I am not seeing the option "SFDX: Create project with manifest" option from command palette and I am not sure how to get that option show up in the Ctrl-Shift-P palette window. I want to be able to do that from VS Code itself, not from SFDX CLI. Commented Oct 19, 2018 at 18:05
  • Make sure your extensions are updated. After I updated mine and reloaded the option appeared in the Command Palette. Before this recent update you had to install a prerelease version of the CLI to get these features. Just reference the article I linked. If that doesn't work I honestly have no idea as I can't reproduce the issue myself.
    – weytani
    Commented Oct 19, 2018 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .