code-builder-feedback icon indicating copy to clipboard operation
code-builder-feedback copied to clipboard

Can we have several environments for one Salesforce org ?

Open FabienTaillon opened this issue 3 years ago • 4 comments

General feedback Once I created a Code Builder env, I can't create a second one. We have some orgs with several repositories, how are we supposed to work with them with only env ? I couldn't find a way in Code Builder to switch to another repo.

FabienTaillon avatar Aug 12 '22 12:08 FabienTaillon

You cannot have multiple Code Builder environments at this point, but you can certainly switch between different repositories and connect multiple salesforce orgs and functions environments.

Use the three lines menu at the top left and choose file and look for your other projects.

Screen Shot 2022-08-12 at 2 34 04 PM

Maybe we need to document this better @smaddox-sf

msrivastav13 avatar Aug 12 '22 18:08 msrivastav13

@msrivastav13 I was able to open home/codebuilder, git clone my other repo, and then open this folder. Is it what I'm supposed to do ? Consider this as a remote hard drive and git clone stuff in there ?

Looks like I can navigate to a lot of folders/files, should I really be able to access all of theses ?

folder

FabienTaillon avatar Aug 12 '22 19:08 FabienTaillon

Yes, I think that's correct. You might even have your folder in there where you can have all your Projects.

Note I don't recommend editing any system files or folders unless you know what you are doing!

msrivastav13 avatar Aug 12 '22 21:08 msrivastav13

Ok ! So that was definitely unclear to me. That feels weird to have a full setup from Salesforce, coming to Code Builder with everything setup, in a limited environment where you can't install extensions, but then have to manually go to the file system to get a new repo.

FabienTaillon avatar Aug 16 '22 07:08 FabienTaillon