microsoft / microsoft/TypeScript
Missing `removeUnused` code fix/code action
Open
@iisaduan is already working on this.
Since Apr 1, 2026.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
source.removeUnused.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:
The corresponding codefix is not also available, and the underlying individual codefixes (unused identifier, etc) are also not ported
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.