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
when vscode is started in portable mode https://code.visualstudio.com/docs/editor/portable
the cody-ai extension doesn't detect that
and writes its config file "cody-ai\config.json"
to the non-portable location
C:/User//AppData/Roaming/cody-ai/config.json
( probably derived via the env var APPDATA ).
Expected behavior
in vscode portable mode the config-file "cody-ai/config.json"
needs instead to be written in the portable "data/"-dir (or
into one of its subfolders) .
this portable "data/"-dir is avavailable in vscode portable
mode in the env-var VSCODE_PORTABLE , that holds the
absolute dir path to the "data/"-dir .
for example the portable "user-data/"-dir and "User/"-dir
are reachable via
"{VSCODE_PORTABLE}/user-data/"
"{VSCODE_PORTABLE}/user-data/User/"
the env-var VSCODE_PORTABLE is only available in vscode
portable mode and can be used to distinguish from
vscode normal standard mode (= non portable mode ) .
Additional context
my environment :
vscode 64bit 1.93.1
Win10 pro 64bit 22H2
The text was updated successfully, but these errors were encountered:
Version
1.34.3
Describe the bug
when vscode is started in portable mode
https://code.visualstudio.com/docs/editor/portable
the cody-ai extension doesn't detect that
and writes its config file "cody-ai\config.json"
to the non-portable location
C:/User//AppData/Roaming/cody-ai/config.json
( probably derived via the env var APPDATA ).
Expected behavior
in vscode portable mode the config-file "cody-ai/config.json"
needs instead to be written in the portable "data/"-dir (or
into one of its subfolders) .
this portable "data/"-dir is avavailable in vscode portable
mode in the env-var VSCODE_PORTABLE , that holds the
absolute dir path to the "data/"-dir .
for example the portable "user-data/"-dir and "User/"-dir
are reachable via
"{VSCODE_PORTABLE}/user-data/"
"{VSCODE_PORTABLE}/user-data/User/"
the env-var VSCODE_PORTABLE is only available in vscode
portable mode and can be used to distinguish from
vscode normal standard mode (= non portable mode ) .
Additional context
my environment :
vscode 64bit 1.93.1
Win10 pro 64bit 22H2
The text was updated successfully, but these errors were encountered: