-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(cli): respect /editor preference in Ctrl+X external editor #4310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dreamWB
wants to merge
21
commits into
QwenLM:main
Choose a base branch
from
dreamWB:worktree-feat-editor-pref-prompt-4165
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c44a95f
feat(cli): respect /editor preference in Ctrl+X external editor
dreamWB 524c52b
fix(cli): address review feedback on external editor feature
dreamWB d26265c
test(cli): add missing vi.mock for usePreferredEditor and useWorktree…
dreamWB e532708
fix(cli): address review feedback on env-var fallback and spawnSync t…
dreamWB cdf7fb9
fix(cli): propagate preferredEditor to TextInput component
dreamWB 2732e41
fix(cli): document why simple double-quoting is safe for shell args
dreamWB e4d5486
fix(cli): handle signal-killed editor and defer undo snapshot
dreamWB 8094231
fix(cli): restore private tmpdir, skip undo on unchanged content
dreamWB 3733059
fix(cli): use path.join in external editor tests for Windows compat
dreamWB ba6c20c
fix(cli): quote editorCmd in shell mode, wrap setRawMode, improve log…
dreamWB 8e791db
refactor(core): remove unused isTerminal from ExternalEditorCommand
dreamWB bb4444b
docs(cli): update stale JSDoc on openInExternalEditor
dreamWB 9059913
fix(cli): address review round 3 — temp dir leak, mkdtemp safety, Tex…
dreamWB 0bdb55d
test(cli): add undo-after-successful-edit test for external editor
dreamWB e1b2d55
fix(cli): opts.editor priority, filePath in error log, warn on invali…
dreamWB bef3734
fix(cli): address sandbox gap and Windows env-var safety in external …
dreamWB 468acc2
fix(cli): address wenshao review — unsafe-char guard, debug logs, tes…
dreamWB c9b2b2e
fix(cli): expand unsafe-char guard, remove stale comment, add tests
dreamWB a051743
fix(cli): remove explicit type annotation on mock.calls.findIndex cal…
dreamWB 1e2ae54
fix(cli): replace unlinkSync+rmdirSync with recursive rmSync for temp…
dreamWB d7e35de
test(cli): add % and ! unsafe-char coverage and error-path raw mode test
dreamWB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.