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
refactor(terminal): address review feedback on inline terminal profile (Zoo-Code-Org#119)
- Route profile names through a dedicated allowlisted `requestTerminalProfiles`
message instead of the generic `getVSCodeSetting` (which reads any key the
webview supplies); the extension reads the profiles and returns only names.
- Preserve the profile's `env` (sanitized to string/null; null unsets a var),
merged onto the base env in createTerminal.
- Clarify the setting copy (en + es) vs the 'Use Inline Terminal' description.
- Add tests: updateSettings->setTerminalProfile bridge, resolveWebviewView
startup hydration, and profile env preservation/sanitization.
Copy file name to clipboardExpand all lines: webview-ui/src/i18n/locales/en/settings.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -805,7 +805,7 @@
805
805
"profile": {
806
806
"label": "Inline terminal profile",
807
807
"default": "Default (VS Code default shell)",
808
-
"description": "Choose which VS Code terminal profilethe inline terminal uses. Pick a UTF-8 shell such as Git Bash if the default shell garbles non-ASCII output (e.g. on Windows with a GBK code page). Leave on Default to keep VS Code's default behavior."
808
+
"description": "Pick which shell the Inline Terminal launches, using a VS Code terminal profile's path and arguments. This only changes the shell binary — the Inline Terminal still bypasses shell integration, prompts, and plugins. Useful to choose a UTF-8 shell such as Git Bash when the default garbles non-ASCII output (e.g. on Windows with a GBK code page). Leave on Default to keep VS Code's default shell."
0 commit comments