Cannot open files in integrated terminal

未关闭
#8,089 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@b84330808 已经在做这个了。

开始于 2026年11月7日。

  • #8117 来自 @b84330808 —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript, vscode
领域
desktop, devtools

调研方向

The report identifies a regression between versions 1.143.1 and 1.144.0 when code-server --wait --reuse-window is used as a terminal editor, but it names no source files or tests. Start by tracing where that editor command and its options are configured, then look for coverage of launching files from an integrated terminal. Done means the terminal editor opens as expected for an interactive rebase without the unknown-option error.

由索引模型根据 Issue 内容生成。

描述

bug triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: N/A (running through VS Code)
  • Local OS: Windows 11
  • Remote OS: Ubuntu 26.04.1 LTS
  • Remote Architecture: x86-64
  • code-server --version: 1.144.0
Steps to Reproduce
  1. Open code-server via VS Code
  2. Run a command that opens vim in the terminal (for eg. an interactive rebase git rebase -i main )
Expected

Terminal text editor opens

Actual

Terminal text editor does not open, with the error

error Unknown option --wait
error: there was a problem with the editor `code-server --wait --reuse-window`
Logs

Screenshot/Video

Expected behaviour on version 1.143.1
Image

Actual behaviour on version 1.144.0
Image

Does this bug reproduce in native VS Code?

Yes, this is also broken in native VS Code

Does this bug reproduce in VS Code web?

No, this works as expected in VS Code web

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?
  • I am using a secure context.
Notes

Testing in VS Code web opens the file as a new tab rather than within the terminal via vim, and from then on works as expected

主要语言
TypeScript
星标
79.8k
派生
6.9k
平均合并
1 天 8 小时
30 天内合并 PR
41

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/code-server 的其他 Issue

查看 coder/code-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。