forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Should the SFDX: Create Project command be hidden in Code Builder? #142

Closed klewis-sfdc closed 2 years ago

klewis-sfdc commented 2 years ago

Describe the bug Using SFDX: Create Project inside CodeBuilder allows me to generate the files associated with the command, but since I don't have a local filesystem to store the new project, it always gets setup inside my existing file structure in memory.

To Reproduce Steps to reproduce the behavior:

  1. Open a project in CodeBuilder
  2. Use the SFDX: Create Project command to create a new project.

Expected behavior Not sure. Can this command be hidden in CodeBuilder? Is there a use case for it when Code Builder doesn't have access to local file storage?

Screenshots

https://user-images.githubusercontent.com/46458081/162034879-65fd37b5-e688-49b4-b6d9-992afc39686d.mp4

Desktop (please complete the following information):

smaddox-sf commented 2 years ago

Hi @klewis-sfdc - It's valid to create a new project from Code Builder. For example, let's say you've finished work on one project and are ready to start the next. You could use create project to start a new SFDX and then either retrieve the code you want to work with or get it from source control. The virtual environment for Code Builder stores your work as you go. We recommend that customers save work to source control or an org for long-term storage.

I'm curious if you tried to create a new project and ran into problems? Can you elaborate on your experience?