microsoft / microsoft/TypeScript

Enable IntelliSense in staged files

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

还没有人认领这个 Issue。

Possible Improvement
主要语言
Go
星标
111k
派生
14.3k
平均合并
2 天 4 小时
30 天内合并 PR
132

描述

From https://github.com/microsoft/vscode/issues/268520

Repo

  1. Staged a .ts file in VS Code using the scm view
  2. In the scm view, click on the staged file to open it in an editor
  3. Try using go to symbol or go to definition in the editor

Bug
Nothing happens

We should be able to enable syntax only features in these files, such the document outline (go to symbol)

Would be great to support go to definition too

贡献指南

打开贡献指南

从这里开始

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

调研方向

通过 VS Code SCM 视图,使用一个已暂存的 .ts 文件重现该问题,然后跟踪已暂存文件编辑器的入口点及其与语言服务的集成。报告中没有提到文件或测试;完成意味着 document outline/go to symbol 可以正常工作,并在可行的情况下支持 go to definition。

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

评估

技术栈
typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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