-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
area/uxImproves the CLI's usability, performance, interactive features, and documentation.Improves the CLI's usability, performance, interactive features, and documentation.kind/bugSomething isn't workingSomething isn't working
Description
What happened?
Hello,
The external editor feature (Ctrl+X) doesn't respect the chosen editor setting on Windows.
Observed Behavior:
I set my editor to "VS Code" using the /editor
command. The settings UI correctly shows "Your preferred editor is: VS Code". However, when I press Ctrl+X
in the main input line, it still launches the default Windows Notepad.
Expected Behavior:
Pressing Ctrl+X
should launch the configured editor (VS Code).
Troubleshooting I've already done:
- I have confirmed that the
code
command works correctly in my PowerShell terminal (VS Code is correctly added to the system PATH). - I have confirmed that the
EDITOR
andVISUAL
environment variables are not set on my system.
It seems like the tool is ignoring its own configuration and the system PATH, and is falling back to a hardcoded default editor on Windows.
Thank you!
What did you expect to happen?
Pressing Ctrl+X should launch the editor I configured (VS Code), not the system default (Notepad).
Client information
- CLI Version: 0.2.2
- Git Commit: 32204dc
- Session ID: 494942cf-e83a-49c3-b0f0-a651369c1403
- Operating System: win32 v22.18.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 124.6 MB
Login information
No response
Anything else we need to know?
No response
Metadata
Metadata
Assignees
Labels
area/uxImproves the CLI's usability, performance, interactive features, and documentation.Improves the CLI's usability, performance, interactive features, and documentation.kind/bugSomething isn't workingSomething isn't working