-
Notifications
You must be signed in to change notification settings - Fork 178
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
Order of suggestion #70
Comments
It would be really great! |
@Immugio @anderson-custodio, all: can you share specific examples (language, screenshots) where TabNine suggestions on top are not optimal? |
@avichay77 the TabNine order of suggestion on its own is great. But I'd like all suggestion produced by TabNine to go below suggestion produced by other features of VS code. E.g. I'd like all TypeScript generated suggestions first as they are context specific. And then all TabNine suggestions to follow after that as they are more generic and don't understand the context in which they are being used. This issue is a blocker for me. I had to stop using this otherwise great plugin due to that. |
@avichay77 here is an example of this issue with TypeScript. I'm returning a known type in which the only accepted key starting with If I'd select
|
Agreed, this is a bit of a dealkiller for me. When using TypeScript, the IDE autosuggestions for properties within the object I'm working are more relevant and accurate than Tabnine's suggestions and so I need them to appear first in the list. |
I worked around the issue by limiting Tabnine's suggestions to 3. Still, they appear first, but at least I never entirely lose the IDE's suggestions. |
I studied this problem a bit some time ago and came to conclusion that it's impossible to do this ordering just by tweaking the plugin code as VSCode orders completions mostly by score which is calculated based on completion text and not hints that completion plugins give him (e.g. Since I didn't want to give up on Tabnine (the idea of powering auto-completion with AI is really ingenious) I decided to invest into tweaking VSCode source code. This led to 2 forks:
Unfortunately because of VSCode source change this solution is unlikely to be merged so I'm posting it only for completion geeks and vscode hackers like me :) There is some history of this change in #6. |
@sergei-dyshel do you have any plans to open PRs for these? |
@vegerot |
@sergei-dyshel FeelsBadMan |
Any update on this? |
Removed this awesome plugin cause the suggestion order is annoying. To bad I like the some of the suggestions. |
I'm thinking of removing Tabnine too. |
I have the same issue here using typescript |
Hey all, we are working on a solution for this, it will be released to beta in our upcoming release, stay tuned |
i am stopping use tabnine for this reason |
Hi All, we just released an experimental "inline Completions" feature 🎉 Please share your experience with this feature here 🙏 In order to enable it:
|
I use Vim extension and this "Inline completions" is really experimental... pretty much useless. We really need the ability to move down the tabnine completion with an order we can specify, like only start at the 2nd or 3rd line if there are other VSCode suggestions. We badly need this to the point I would stop my Pro subscription until this is resolved. |
💯% agree |
... and I just stopped my Pro subscription. |
Just tried tabnine after someone recommended it to me, yet the average quality of the suggestions I receive now is lower than before, as tabnine displaces all the (usually far more relevant) MyPy Typing suggestions in Python as well -> removing it. |
Anybody can tell me, is this resolved yet? I don't want to burn money just to try if it's now possible to set the order of suggestions. |
As I mentioned earlier in #70 (comment), this problem is not fixable without modifying vscode's code itself. |
@sergei-dyshel Is anybody on the Codota team (or other contributors) willing to contribute this to VSCode, then? |
I'm not aware of such attempts, but can't speak for Codota team, as I'm not related to them. |
Emmet has a similar feature and it seems they manage to solve it by showing suggestions as snippets. Then, they just change the snippets order to top from vscode: Maybe it's worth looking into it? https://code.visualstudio.com/docs/editor/emmet#_emmet-suggestion-ordering |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there any way to control the order of suggestions? At the moment the plugin puts the suggestions produced by TabNine at the beginning of the list. I'd prefer to have them at the end since often they are less relevant than suggestions that come e.g. from properties of an object.
The text was updated successfully, but these errors were encountered: