microsoft / microsoft/TypeScript

Missing `addMissingImports` code action/code fix

Đang mở
#63,809 5 bình luận 13 reaction 1 người được giao Được @iisaduan nhận Xem trên GitHub
Ngôn ngữ chính
Go
Star
111k
Fork
14.3k
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
132

Mô tả

`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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.