Closed dimacodota closed 1 year ago
I'm possibly being dumb here but where is Tabnine Home? I can only see the regular VSCode preferences and I don't seem to be able to find anywhere to download the Tabnine engine separately (i.e. only the various extensions) which is what's implied by the instructions.
I'm possibly being dumb here but where is Tabnine Home? I can only see the regular VSCode preferences and I don't seem to be able to find anywhere to download the Tabnine engine separately (i.e. only the various extensions) which is what's implied by the instructions.
click on the "Tabnine" status bar item:
I'm possibly being dumb here but where is Tabnine Home? I can only see the regular VSCode preferences and I don't seem to be able to find anywhere to download the Tabnine engine separately (i.e. only the various extensions) which is what's implied by the instructions.
click on the "Tabnine" status bar item:
Great - thank you
Does it allow to see one suggestion only?
Does it allow to see one suggestion only? you can "list" through the suggestions via
alt +[
andalt +]
keys
I honestly find it better than the popup since I have a lot of snippets that I use the tab space I didn't like the fact that the suggestions crowded out the snippets.
What would be perfect is that I could see the other suggestions somewhere so it don't waste time I circling them with the alt +[
Since I used tabnine to be faster I would like to see it fast if there are any suggestions that I can use.
When using lens-related plugins like Error lens and Git lens, it breaks Tabnine's autocomplete.
Looks like a cool feature. It does not seem to work in the IntelliJ Plugin though. Is this something that is in the works?
Looks like a cool feature. It does not seem to work in the IntelliJ Plugin though. Is this something that is in the works?
Yes, we are working on it. It should be released soon
Love this feature when combined with the Full Line completions. However, I have two requests/questions:
1) Would it be possible to add a switch (or be default) that if we have full line completion turned on, it will instead show its longest prediction first. I just find myself sometimes having to use the 'ctr + [ OR ]' to cycle from completing the current word (which is accurate) to the full line which is a bit cumbersome
2) Somehow combine inline with a dropdown? Like it would show the first auto-complete suggestion inline, but all other options would appear in a dropdown (either the current drop down style, or a different one).
Other than that, great work!
love this feature :)
In VSCode the suggestion sometimes appears in front of the text. Seems to only happen when starting a new line. fixes itself after waiting for a bit
this might be caused by the fact that the files im working on are on a remote network drive and therefore have limited bandwith and latency, though tabnine really shouldn't need direct file access for individual predictions.
edit: hmm, also happens with lines when you add closing symbols and then jump before them, so it might not be related to it being a new line
edit 2: this is happening all the time now. im going to have to turn this great feature off until it stops moving my cursor due to suggestions popping up infront of the cursor, as that is really jarring. it should NEVER move my cursor no matter for how short, which it currently does, see the videos:
stopped typing, you can see the cursor move forwards and back:
didn't stop typing:
There's occasions where pressing Tab to accept an inline-completion results in either an actual tab being inserted, or it prefers the first option of a dropdown Intellisense suggestion instead.
To prevent the latter, I've completely disabled the dropdowns from VSCode entirely.
However, in this .md file for example, the issue still persists
https://user-images.githubusercontent.com/2586027/130464528-21d5733a-ab00-4035-a3e1-a0d86136a429.mov
Settings:
There's occasions where pressing Tab to accept an inline-completion results in either an actual tab being inserted, or it prefers the first option of a dropdown Intellisense suggestion instead.
To prevent the latter, I've completely disabled the dropdowns from VSCode entirely.
However, in this .md file for example, the issue still persists
Screen.Recording.2021-08-23.at.10.26.24.AM.mov Settings:
@shmkane, can you please share your console log (Help -> Toggle Developer Tools) ?
There's occasions where pressing Tab to accept an inline-completion results in either an actual tab being inserted, or it prefers the first option of a dropdown Intellisense suggestion instead. To prevent the latter, I've completely disabled the dropdowns from VSCode entirely. However, in this .md file for example, the issue still persists Screen.Recording.2021-08-23.at.10.26.24.AM.mov Settings:
@shmkane, can you please share your console log (Help -> Toggle Developer Tools) ?
Here's me attempting to tab complete on a markdown file vs a javascript file.
https://user-images.githubusercontent.com/2586027/130484757-fd01a9c4-f04d-4802-b0c2-0873b9044a5a.mov
I'm unsure if the errors displayed are related, but here's a PasteBin of the output shown in the video
@shmkane - can you please share the list of your installed extensions code --list-extensions
?
@shmkane - can you please share the list of your installed extensions
code --list-extensions
?
code --list-extensions
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer-2
dbaeumer.vscode-eslint
discountry.react-redux-react-router-snippets
donjayamanne.python-extension-pack
eamodio.gitlens
eg2.vscode-npm-script
esbenp.prettier-vscode
janisdd.vscode-edit-csv
jasonnutter.search-node-modules
jawandarajbir.react-vscode-extension-pack
k--kato.intellij-idea-keybindings
KevinRose.vsc-python-indent
magicstack.MagicPython
ms-python.python
ms-python.vscode-pylance
naumovs.color-highlight
njpwerner.autodocstring
richie5um2.vscode-sort-json
rvest.vs-code-prettier-eslint
streetsidesoftware.code-spell-checker
TabNine.tabnine-vscode
VisualStudioExptTeam.vscodeintellicode
vscode-icons-team.vscode-icons
xabikos.JavaScriptSnippets
xabikos.ReactSnippets
yzhang.markdown-all-in-one
zhuangtongfa.material-theme
it seems will quit edit mode and turn to visual mode with vsocde vim in some cases
it seems will quit edit mode and turn to visual mode with vsocde vim in some cases
same for me, but almost all time
it seems will quit edit mode and turn to visual mode with vsocde vim in some cases
Yes, almost all the time here too.
Fantastic feature!
I think it would be great if pressing arrow down or up(to select from the regular dropdown list) would disable the feature temporarily to allow tab to pick from the regular dropdown instead.
What I personally noticed is that the inline completetions aren't really compatible with the vscode vim plugin (vscodevim.vim
). When using a suggested completion by pressing tab, the vim plugin will go into visual mode, the vim cursor stays at the last typed character but a "normal", thin cursor will appear at the end of the completed code. This is quite an annoyance as you can't keep typing but instead need to spam esc to get back into normal mode and then move your cursor to the end again and go into insert mode before you can start typing again.
I've experienced the same issues as several others in the thread with this feature with the Vim extension for VS Code.
I also noticed similar issues with the markdown extension breaking tab auto completion as described by @shmkane. Based on my own experience with a simple navigation extension I wrote, it seems like the markdown extension specifically captures input overzealously - I noticed that it broke the backspace keybinding I use in my extension. I've only noticed that behavior when editing markdown files so far. Not sure if that's helpful at all for narrowing down that issue.
As a feature request, it would be nice if there was a way to request inline suggestions, similar to how ctrl+space
opens the regular suggestion dropdown.
I sometimes just use Tabnine as a kind of AI-assisted lexicon of what i may need, so I would suggest that it does show the other options too, instead of having to manually expand the other options, I'd like to see the inline suggestion, and the others too. (PHPStorm)
I can't make it work, when a suggestion appears, i hit tab and just a TAB character appears :( I'm using VSCode 1.59.1, tabnine plugin: 3.4.26 and engine: 3.6.5-40 pro. Any help?
Thank you
Does this feature work with Jetbrains at all? I can't make it work on PHPStorm.
VS code just release new version inludes inline complete. Should I remove tab9 ? So confuse
I feel tab9 still smarter now
Does this feature work with Jetbrains at all? I can't make it work on PHPStorm.
@igorsgm it should work with JetBrains IDEs. Is the inline completion option in your Tabnine hub is on? What is your tabnine plugin version?
VS code just release new version inludes inline complete. Should I remove tab9 ? So confuse
I have the same question too. How does this overlap with vscode's suggest preview feature?
Also, this feature doesn't work very well with vscode vim.
The inline completions is totally unusable for me (working in Laravel 8) The code randomly disappears and is all messed up.
I made a video to show you what happens: https://app.vmaker.com/record/1BlZnP8UYeeeZe3g
Sometime, it create newlines and remove some text, I guess it's because the indentations is wrong.
Mac OS 11.5 VS Code: 1.61.0-insider (Universal) Language: elm Extension: Pro version - Last updated 01/09/2021, 13:14:46
This may be related: https://github.com/codota/TabNine/issues/445
I really want this feature to work, but while editing Python files in VS Code, I find it will suddenly start entering large amounts of text where I don't want it and there's just too much jumping around visually to track.
Something went wrong when Im using this feature.
I think the issue happened when combining with this feature
Something went wrong when Im using this feature.
I think the issue happened when combining with this feature
I get this problem as well ^
Something went wrong when Im using this feature. I think the issue happened when combining with this feature
I get this problem as well ^
Something similar here!
I love this feature, the only problem I find is that when I accept a suggestion by pressing TAB, it leaves the CURSOR at the end of the sentence, and it would be ideal if the accepted suggestion is a function or method, leave the CURSOR inside the parentheses to start to write directly the arguments of the function or method. Thank you!
Current behavior:
$this->fooMethod()[CURSOR]
Desired behavior:
$this->fooMethod( [CURSOR] )
PS: I'm using Ubuntu 18.04 and PHPStorm 2021.2.1
it seems will quit edit mode and turn to visual mode with vsocde vim in some cases
Same here
Something went wrong when Im using this feature. I think the issue happened when combining with this feature
I get this problem as well ^
Something similar here!
Same for me! But it deletes my line of code as well. Pretty annoying, hope you'll find a way to fix it :)
As an FYI for those who are having issues with markdown (@shmkane for one), the markdown extension has a default keybinding for "tab". Removing that keybinding allowed me to use this correctly.
@dimacodota As for the Vim issues, it seems like this issue may be the cause, but that definitely isn't certain. That may just be an issue of a conflicting keybinding as well.
Something went wrong when Im using this feature. I think the issue happened when combining with this feature
I get this problem as well ^
Something similar here!
Same for me! But it deletes my line of code as well. Pretty annoying, hope you'll find a way to fix it :)
I'm having similar issues and I'm using vim mode. Really hope that it gets fixed.
Hi. As of my experience (almost a week), i think it requires a minor improvement. Sometimes i type too fast, but ping to the server (i use cloud completions) is faster than my reaction time. So the problem is, when my reaction time is not good enough i type exactly as the model predicted for a couple of characters forward and i want to press tab to complete, but it already changed it's prediction to something else (usually less useful), requiring me to spend more time to undo changes and redo it.
Also little about multiline suggestions in inline mode. They are good (in a sense), but don`t work properly on pycharm, firstly they dont print \n character at all just some stuff like a=1print(a)
instead of something like this
a=1
print(a)
or at least like a=1 \n print(a)
And also it uses tabs instead of spaces, which makes IDE panic. Looking forward for more stable inline mode, but for now switching to standard mode.
The idea of inline completions is great. But I often encounter moments when I press Tab
to accept suggestions from vscode, but end up with the unwanted inline completion. I'm wondering if there is a way to distinguish them, maybe by making the inline suggestion also appear first in the suggestion list.
Just like @hsianktin already stated, it's kinda cumbersome to work with this completion style due to the conflicting bindings. Using Tab
for VSCode / IntelliJ suggestions and Ctrl+Enter
for TabNine helps to distinguish between the completion. On the other hand, this feels like the mental overhead you aim to mitigate.
Another rather annoying circumstance is that the TabNine pop-up + editor completion suggestions make it impossible to read the surrounding code in any meaningful way. I find myself often in a situation where I want to peek exactly at the previous line which is then hidden by TabNine.
@dimacodota Thanks for releasing such a powerful function. However, one tricky issue is that if I don't want to accept the suggestion and just want to move the cursor to the right, I need to press the "right" key two times. The first time is to cancel the inline suggestion, and the second one is to actually invoke the "right move" function. Such behavior will result in inconvenience. Why not let the "right move" key behave as normal?
Can it be possible to alter key binding of next and last action? Alt + [
and Alt + ]
are a little hard to reach.
Can it be possible to alter key binding of next and last action?
Alt + [
andAlt + ]
are a little hard to reach.
Depending on your IDE, you can rebind the hotkeys.
Can it be possible to alter key binding of next and last action?
Alt + [
andAlt + ]
are a little hard to reach.Depending on your IDE, you can rebind the hotkeys.
Thanks! Using VSC, and I changed its keybindings to Tab + a and Tab +d. These keys are more comfortable to use when I need a suggestion.
Thank you a lot for this feature, it allow to save a lot of time when you combine it with good shortcut ! i use left/right arrow for prev/next suggest and space to validate it. The shortcut conflict are a little bit tricky to solve to not have problems with vscode suggestion list, but when it's well configured it's just awesome !
My 2 cents here as well - it works somewhat OK except when you decide to not use TabNine's suggestion and start cycling through VSCode's suggestions list - at that moment TabNine should be out of the picture.
Instead what happens is that I select whatever I want from the suggestion list, press [Tab] and of course TN inline prediction gets added instead :)
For example here:
1) grid-template-data-align isn't a thing but that's a different issue 2) Right now there is both a suggestion box and an inline TabNine completion - the suggestion box is very prominent while TabNine's inline suggestion is muted and more difficult to see, yet it's the one accepted when Tab is pressed.
Edit: more info
Hi All, we just released an experimental "inline Completions" feature 🎉
Please share your experience with this feature🙏
In order to enable it: