We want to switch to vscode but our git repo uses old source format and we don't want to convert this to new source format yet.This article talks about how to convert existing projects to new source format without losing git repo history but we don't want to do this, atleast, for sometime.
Here is what we are thinking of and need input from others if there will be any issues with this approach.
- Project exists in old format.
- Create new project in vscode and choose the option create project from manifest file.
- Make changes in vscode.
- When ready to commit, convert the new source structure to old structure with command
sfdx force:source:convert. I played around with this command we can convert only the component that we touched and don't need to convert entire project.
- Go to folder(old source format) and commit from there.
If we are working on metadata type that did not change in new source format, we don't need to convert and simply copy file from new Project to Old Project and commit from there and no need to use command