Replies: 4 comments
-
Just FYI for the VS code side, we need to think about the UX. We did consider the approach of https://github.com/SamVerschueren/vscode-yo (see the gif at the site), but, at that time, decided that the lack of proper menus means that the experience was actually worse and more confusing that the current approach. |
Beta Was this translation helpful? Give feedback.
-
I don’t think that experience is too bad, but yeah it certainly could be better. I think for new users though it’s helpful. The other thing is we could have a standard VSCode default. So maybe we have “SFDX: Create project” and “SFDX: Create project with custom options” or something. |
Beta Was this translation helpful? Give feedback.
-
//cc @claire-bianchi |
Beta Was this translation helpful? Give feedback.
-
I hadn't seen this before. The ability to indicate which step you are on in a multi-step dialog: https://code.visualstudio.com/updates/v1_26#_quickinput-api |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem?
Today, you have basically two options for creating a project: a regular project and a project with a manifest. However, there are many different options that could be added to the default project experience.
Describe the solution you'd like
When creating a project using the loopback CLI tool you are given a number of different options as shown below.
The SFDX CLI should allow for similar extensibility and flexibiity when creating new project.
Project Template Options
The following options could be added to the new project create experience today and looks somethng like the following.
The options are as follows:
--manifest
option does today.package.json
file (if needed) with prettier installed (and eventually with the prettier-apex plugin). Includes a script inpackage.json
forprettier
to format all code in the reposititorypackage.json
file (if needed) with jslint installed. Includes a script forlint
that runs jslint. Also includes a recommended config for jslint. Could also use this.package.json
script to run PMD..vscode
directory to the project with recommended settings insettings.json
as well as the default configurations for the replay debugger inlaunch.json
.gitignore
file to the project.Implimenation in VS Code
In VS Code the options would be presented as dialogs that either prompt for text values (in the case of things like the
Project name
) or yes/no options in the case of the features. There would be a single commandSFDX: Create Project
instead of multiple commands today likeSFDX: Create Project with Manifest
Beta Was this translation helpful? Give feedback.
All reactions