After responding to #840 and #841, the problem scope has gotten clearer
What
- The default connection is stored by database name in the
.code-workspace, this makes the default connection unsharable among developers
"dbcode.workspaceConnection": {
"id": "xxxxxxxxxxxxxxx",
"database": "database_of_specific_developer"
}
- It would be helpful if DBCode can use information discovered from
.env as the default workspace connection
Why (problem/use case)
- Each project of ours have 1 VSCode
.code-workspace which is committed to git and shared among all developers
- This file does not include the database credentials, which is stored in a
.env and not committed to git
- This allows us to share common details while keeping the sensitive ones different, i.e. DB credentials
Additional Context
N/A
After responding to #840 and #841, the problem scope has gotten clearer
What
.code-workspace, this makes the default connection unsharable among developers.envas the default workspace connectionWhy (problem/use case)
.code-workspacewhich is committed to git and shared among all developers.envand not committed to gitAdditional Context
N/A