[FEATURE] Better VSCode Terminal Setup Solution
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
For now, run /terminal-setup inside vscode terminal, will append following to shortcuts.json:
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\\\r\n"
},
"when": "terminalFocus"
}
but the disavantage is will append \ ant end:
Proposed Solution
better solution:
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u001B\u000A" },
"when": "terminalFocus"
},
will get perfect experience:
Alternative Solutions
No response
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
No response
Additional Context
see https://github.com/anthropics/claude-code/issues/2754#issuecomment-3064554102
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/2754
- https://github.com/anthropics/claude-code/issues/1251
- https://github.com/anthropics/claude-code/issues/935
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I finally found a fix https://github.com/anthropics/claude-code/issues/1251#issuecomment-3672726977