-
Notifications
You must be signed in to change notification settings - Fork 67
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
Tabnine doesn't import class on the auto suggestion #173
Comments
What IDE do you use? |
IntelliJ IDEA 2021.1.3 |
We recently added an improved auto-import completions, make sure you are on the latest version of Tabnine and check it out. |
which (IntelliJ plugin) version is it? |
I am using the plugin (0.4.3) in Rider and also have to manually import classes in suggestions. If there is any way I can help debug the issue, please let me know! |
We just launched a new plugin version 0.4.4, that contains fixes for the auto-import issues. |
It works on class instantiation, doesn't work when calling static class |
Hi @handhikadj, which programming language are you using? |
Hi @geisterfurz007, can you provide a code example where the auto import doesn't work for you? |
PHP |
Hey @Eransho, I can indeed (on 0.4.4 of the plugin) in C# in Rider: As you can see, Tabnine suggests HttpClient which I select but the import isn't created. Only when I manually press Alt + Enter towards the end of the video, namespace TabNineDemo {
public class Demo {
public Ht/* accept TabNine suggestion */
}
} Expected: using System.Net.Http;
namespace TabNineDemo {
public class Demo {
public HttpClient
}
} Actual: namespace TabNineDemo {
public class Demo {
public HttpClient
}
} I hope this helps, if you need anything else, let me know! For some good news: Auto imports work quite nicely in a React (TS) project in WebStorm which feels really good! |
Thanks @geisterfurz007, that helps. It's a bug and we will add it to our backlog |
Awesome, thanks! I don't know if this is a similar or the same case, but while I was fiddling around with Flutter, I also found this case (Android Studio Arctic Fox 2020.3.1, TabNine 0.4.4, Dart 2.13.3): I accept two completions from TabNine in the gif shared: |
When will this bug be fixed? |
It somewhat bothers me when I select one of the result of Tabnine's auto suggestion and the related class is not imported
gz#2930
The text was updated successfully, but these errors were encountered: