tabnine-vscode icon indicating copy to clipboard operation
tabnine-vscode copied to clipboard

Rearrange order of TabNine suggestions relative to VSCode suggestions

Open vegerot opened this issue 4 years ago • 16 comments

please complete the following information:

  • OS version: [e.g Mac Catalina]
  • Editor version [e.g. 1.48.0-insider]:
  • Programming language: [e.g. ts, vue]
  • TabNine extension version: latest

Issue Details: I love TabNine, and use it all the time. However, if I'm doing something like completing function members foo.ba, I find that VSCode's Typescript Language Server provides much better suggestions than TabNine, even with TabNine's language-aware features. Is there a way that I can have TabNine's suggestions below TS's, so that I can use TabNine when the LSP fails to be useful. I find TabNine to be most useful when LSP fails.

vegerot avatar Jul 14 '20 14:07 vegerot

duplicates https://github.com/codota/tabnine-vscode/issues/70

yanir-codota avatar Aug 04 '20 14:08 yanir-codota

@yanir-codota I see that it's a duplicate, but that's been open for over six months with no response so far

vegerot avatar Aug 04 '20 18:08 vegerot

I'd second this. Especially when you're playing with newer packages and don't already have a lot of project code, Tabnine suggestions are more of a hindrance.

ananis25 avatar Aug 08 '20 15:08 ananis25

@vegerot @ananis25 we're are currently in the process of reviewing this and other related issues. Any specific example (screenshot) can be helpful to understand the full picture.

avichay77 avatar Aug 31 '20 08:08 avichay77

Thanks for looking at this @avichay77. Here is an example.

tabnine-screenshot

While in this specific case, I've used numpy for a bit and know that random is a valid module; this is really distracting when working with a new package since I don't know which attributes/methods suggested by TabNine are actually present. And often I have to go back and re-enter the method I really want to use. To be clear, it is not an issue with the VsCode plugin but TabNine in general, so I've refrained from using it in an exploratory environment like Jupyter where increasingly I spend the most time typing.

The original suggestion by @vegerot would be useful here since the LSP server suggestions are always legal, and TabNine can be prompted to fill in the rest of the expression after the member/method has been selected.

ananis25 avatar Sep 08 '20 06:09 ananis25

Priority up 👍

vaclavbenes avatar Sep 18 '20 20:09 vaclavbenes

Currently, we can use this "editor.snippetSuggestions": "top" as workaround. I am not sure that it will have some issues with other setting or configuration.

So, put this line in user setting. (i.e settings.json)

  "editor.snippetSuggestions": "top"
tabnine

After changing the setting, TabNine completion will come only after the vscode completion.

mgmgpyaesonewin avatar Oct 04 '20 04:10 mgmgpyaesonewin

@avichay77 - could you give us an update here? Using tabnine in Jupyter is really inconvenient presently.

ananis25 avatar Oct 22 '20 12:10 ananis25

This would be very nice to have! Is anyone actively looking into this?

eliliam avatar Jan 21 '21 01:01 eliliam

any update?

Oscar-Silva avatar Jan 21 '21 22:01 Oscar-Silva

I meet the same problem. I want to select the 6th line without press the down arrow. tabnine_issue

xiaoyureed avatar Jan 22 '21 08:01 xiaoyureed

I meet the same problem. I want to select the 6th line without press the down arrow.

tabnine_issue

@avichay77 This is EXACTLY what I'm talking about. I get this all the time

vegerot avatar Jan 22 '21 14:01 vegerot

If the project manager is reading this, FYI I disabled tabnine in vscode, and I'm therefore not going to subscribe to Tabnine Pro, because of this issue.

fungiboletus avatar Feb 12 '21 06:02 fungiboletus

FYI, posted some very complex solution to this problem in https://github.com/codota/tabnine-vscode/issues/70

sergei-dyshel avatar Mar 14 '21 21:03 sergei-dyshel

I had to uninstall because of the same issue. I use typescript a lot and tabnine was interfering with the ts-autocomplete.

IagoLast avatar Jun 30 '21 12:06 IagoLast

Hi All, we just released an experimental "inline Completions" feature 🎉

Please share your experience with this feature here 🙏

In order to enable it:

  • make sure you are using the latest engine(3.5.37) and extension(3.4.21) version.
  • open the Tabnine Home, scroll to "General Preferences" and check the "inline Completions" option
  • restart vscode
Screen Shot 2021-08-08 at 11 15 14

dimacodota avatar Aug 08 '21 08:08 dimacodota

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.

stale[bot] avatar Oct 13 '22 19:10 stale[bot]