You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although profiles have Workspace associations, a non-default profile needs to be selected. I would love to see it conditionally and automatically happening when launching code from a workspace (something in the spirit of Git conditional includes.
For instance, assume org1 and org2 profiles have been created and there are directories named org1 and org2 nested within a projects directory. When executing code . (without any arguments) within org1 directory (or within any nested directory), then code will launch with the org1 profile (equivalent for executing code --profile org1 .).
This could be easily done by wrapping code with a simple script such as
Although profiles have Workspace associations, a non-default profile needs to be selected. I would love to see it conditionally and automatically happening when launching
code
from a workspace (something in the spirit of Git conditional includes.For instance, assume
org1
andorg2
profiles have been created and there are directories namedorg1
andorg2
nested within aprojects
directory. When executingcode .
(without any arguments) withinorg1
directory (or within any nested directory), thencode
will launch with theorg1
profile (equivalent for executingcode --profile org1 .
).This could be easily done by wrapping
code
with a simple script such asBut it would be lovely to not wrap
code
and have it configured in the/a settings/file respectively.The text was updated successfully, but these errors were encountered: