microsoft/typescript-go

tsgo preview: autoimport quick fixes not implemented

Opened this issue ยท 7 comments

Steps to reproduce

Delete anyone import statement

Behavior with typescript@5.8

It will show import suggestion in fix dropdown menu

Behavior with tsgo

No suggestions.

The PR #1553 seems only support showing import sugguestions when writing code.

Do you have an example we could test?

This is easily reproducible - just delete any import statement in any code repository. For example:

import { hello } from './foo'

hello()

With this simple code, if I write hello directly, it will suggest the import. But after I delete the import statement, hovering over hello and trying to fix it doesn't show any import suggestions.

I think this is just because we haven't yet implemented quick fixes.

I think this is just because we haven't yet implemented quick fixes.

I think so, it still not work with 0.20250903.1. I thought #1553 should be supported ๐Ÿ˜†

Only thing missing for me, the rest is working wonderfully

Looking forward to this being done!

I looked into writing it but it's a huge feature :(