Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Imports on Typescript #1677

Closed
FabioAntunes opened this issue Jun 25, 2018 · 7 comments
Closed

Auto Imports on Typescript #1677

FabioAntunes opened this issue Jun 25, 2018 · 7 comments
Labels
enhancement LSP Any issue relating to LSP or tsserver

Comments

@FabioAntunes
Copy link

Does ALE has something similar to this

And here's a video of it in action

Been trying to find in the documentation but can't find it anywhere, so not sure if it exists.

@w0rp
Copy link
Member

w0rp commented Jun 25, 2018

It doesn't exist yet, but I want to add it. That plugin's code for this is a horrible mess: https://github.com/Quramy/tsuquyomi/blob/master/autoload/tsuquyomi/es6import.vim

I'll support something like this if there's a tsserver feature for doing it, with a matching LSP feature.

@w0rp
Copy link
Member

w0rp commented Jun 25, 2018

This issue is related: #1466 This can be implemented by adding support for "code fixes" for tsserver. The equivalent is "code actions" support for LSP servers.

@w0rp w0rp added the LSP Any issue relating to LSP or tsserver label Jun 25, 2018
@mboughaba
Copy link

Hi this could be very useful for me. For what I use everyday, ALE does everything that Tsu does except the typescript imports. Now I am left with both plugins...

@ben-wall
Copy link

Hi this could be very useful for me. For what I use everyday, ALE does everything that Tsu does except the typescript imports. Now I am left with both plugins...

same here - I really want to just use ale, though and this is the only missing feature

@w0rp
Copy link
Member

w0rp commented Jan 15, 2019

I look forward to your pull request. :)

@geoyws
Copy link

geoyws commented Sep 27, 2019

FYI this is already working https://github.com/dense-analysis/ale#2iii-completion

@w0rp
Copy link
Member

w0rp commented Sep 30, 2019

Thanks! I'll close this.

@w0rp w0rp closed this as completed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement LSP Any issue relating to LSP or tsserver
Projects
None yet
Development

No branches or pull requests

5 participants