microsoft / microsoft/TypeScript

Missing `addMissingImports` code action/code fix

未关闭
#63,809 5 条评论 13 个 reaction 已指派 1 人 已被 @iisaduan 认领 在 GitHub 查看
主要语言
Go
星标
111k
派生
14.3k
平均合并
2 天 4 小时
30 天内合并 PR
132

描述

`source.addMissingImports.ts` is not implemented for `editor.codeActionOnSave` in VSCode (see https://github.com/microsoft/typescript-go/issues/2444#issue-3785594140).

Currently with only the experimental server, code actions look like this:
Image

t is also not available as a codefix:
Instead we get this (there are only 2 missing imports 😅):
Image

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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