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

Completion issues

Open BladeMF opened this issue 3 years ago • 4 comments
trafficstars

please complete the following information:

  • OS version: Win11
  • Editor version [e.g. 1.45.0-insider]: 1.69.0 insider
  • Programming language: PHP
  • TabNine extension version: 3.6.1

If the issue is related to TabNine failure, please provide log files:

I can't find the logs on that page.

Editor console logs:

Nothing in the console.

Issue Details:

  1. TabNine's suggestions do not appear in the completion list, only the language server's. I am happy to provide the actual response from the language server with the completion list if that helps. TabNine's suggestions appear only as inline suggestions (although that option is not turned on in settings).
  2. TabNine appears (the issue is gone when the extension is disabled) to interfere with the language server's suggestion popup: For an existing line of $this, (1) if I type -> the popup does not appear, no matter how many times I delete the two symbols and type them again; (2) if I delete just the > and type it again, the list appears, but without TabNine's suggestions (only the inline one).

gz#16011

BladeMF avatar Jul 06 '22 05:07 BladeMF

So that's definitely Advanced completions/Inline completions being turned on. I think my default state was Advanced=ON, Inline=OFF. After turning them on and off again, it seems that Advanced cannot be ON without Inline being ON so probably that was the problem. Now I see the suggestions in the list and the completions are not blocked.

Still the initial state is somewhat a problem.

BladeMF avatar Jul 07 '22 05:07 BladeMF

Hi sorry for the late response. I understand when you disable inline completions, the advanced goes off too. I reproduced that on VSCode, and that is correct. It is available just for inline. What is the remaining problem you say you have?

maya-tabnine avatar Jul 12 '22 14:07 maya-tabnine

Yes. The actual problem is that my initial state was "Advanced=ON, Inline=OFF", which if I understand correctly is not a valid combination.

BladeMF avatar Jul 12 '22 14:07 BladeMF

Ok, sorry for the trouble you experienced with that! I will add this to our faq documentation too.

maya-tabnine avatar Jul 13 '22 12:07 maya-tabnine

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 15:10 stale[bot]