Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folders without sfdx-project.json files should see an option to "Initialize Salesforce DX Project" #207

Closed
abd3 opened this issue Nov 6, 2017 · 2 comments

Comments

@abd3
Copy link

abd3 commented Nov 6, 2017

Summary

Currently, if a project folder is opened in VS Code that does not contain an sfdx-project.json file none of the SFDX commands are exposed in the Command Palette. This causes confusion for users (like me) who didn't read the instructions which explain this behavior. For example, see this issue. At a minimum users should see an option in the Command Palette to "Initialize Salesforce DX Project" that runs force:project:create and queries the user for the project name. This will greatly reduce confusion and reassure users that the extension is working, but steps are required to use it fully.

Steps To Reproduce:

  1. Open a VS Code window pointing to a folder with no sfdx-project.json file
  2. Open the command palette and search for "SFDX" commands

Expected result

Users would expect there to be some options available if the SFDX extension is installed

Actual result

'No commands matching' is shown in the Command Palette

Additional information

VS Code Version:
1.17.2

SFDX CLI Version:
sfdx-cli/6.0.14-2af879b (darwin-x64) node-v8.6.0

OS and version:
Mac OS X 10.11.6

@vazexqi
Copy link
Contributor

vazexqi commented Nov 7, 2017

This would be partially addressed by #197 but in general we might want some way to help people migrate over from the old project format which might not have a sfdx-project.json.

@chowwinston-zz
Copy link
Contributor

#197 has been merged. This will be available with the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants