Coder Social home page Coder Social logo

codota / tabnine-vscode Goto Github PK

View Code? Open in Web Editor NEW
1.4K 36.0 171.0 1.43 GB

Visual Studio Code client for Tabnine. https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode

Home Page: https://www.tabnine.com/install/vscodeֿ

License: MIT License

TypeScript 98.85% JavaScript 1.15%
vscode vscode-extension autocomplete gpt-2 artificial-intelligence javascript python typescript rust java c cpp swift ruby php lua bash golang

tabnine-vscode's Introduction

Github Repo VSCode Plugin Youtube Demo Video Twitter Follow Gitpod ready-to-code

Tabnine: The AI code assistant that you control

Tabnine is the AI code assistant that you control — helping development teams of every size use AI to accelerate and simplify the software development process without sacrificing privacy, security, or compliance. Tabnine boosts engineering velocity, code quality, and developer happiness by automating the coding workflow through AI tools customized to your team. Tabnine is trusted by more than 1,000,000 developers across thousands of organizations. Learn how to install and activate Tabnine and get started.

Boost developer productivity with AI-powered chat and code completions

Tabnine offers best-in-class AI code completion and an AI-powered chat that increases productivity and accelerates the entire software development lifecycle.

Here’s what you can do with Tabnine:

Plan: Ask Tabnine general coding questions or learn how things work in your specific project and get solutions and references relevant to your workspace.

plan

Create: Generate new code using natural language. As you continue coding, Tabnine provides inline code completions, offering real-time, context-aware suggestions that seamlessly blend with your coding style.

create

Test: Ask Tabnine to create tests for a specific function or code in your project, and get back the actual test cases, implementation, and assertion. Tabnine can also use existing tests in your project and suggest tests that align with your project’s testing framework.

test

Fix: When tests fail, you can select code with an error and ask Tabnine for recommendations on how to fix it.

fix

Document: Generate documentation for specific sections of your code to enhance readability and make it easy for other team members to understand.

document

Explain: Tabnine Chat can provide you with an explanation for a block of existing code, which is especially useful when reading a new codebase or reading legacy code in languages you don’t know as well.

explain

Maintain: In addition to writing new code, Tabnine can help you change the existing code by adding functionality, refactoring, or fixing specific code.

maintain

Tabnine supports most popular languages, frameworks, and IDEs.

Supported languages, frameworks, and libraries: JavaScript, TypeScript, Python, Java, C, C++, C#, Go, Php, Ruby, Kotlin, Dart, Rust, React/Vue, HTML 5, CSS, Lua, Perl, YAML, Cuda, SQL, Scala, Shell (bash), Swift, R, Julia, VB, Groovy, Matlab, Terraform, ABAP.
Learn more

Supported IDEs: VS Code, JetBrains IDEs (IntelliJ, PyCharm, WebStorm, PhpStorm, Android Studio, GoLand, CLion, Rider, DataGrip, RustRover, RubyMine, DataSpell, Aqua, AppCode), Eclipse, Visual Studio 2022.
Learn more

The AI code assistant that you control

Unlike generic code assistants, Tabnine is:

  • Private: You choose where and how to deploy Tabnine, either as a secure SaaS offering or self-hosted on-premises or in a VPC). We never store your data or share it with any third party. Additionally, we don’t use your data to train our models. This ensures complete privacy and maximizes control over your intellectual property.

  • Personalized: Tabnine delivers an optimized experience for each developer and engineering team. You can increase Tabnine's contextual awareness by making it aware of your environment — from a developer’s local IDE to the entire codebase — and receive highly personalized results for code completions, explanations, and documentation. Tabnine enterprise customers can further enrich the capability and quality of the output by creating a bespoke model that’s trained on their codebase.

  • Protected: Tabnine is built with enterprise-grade security and compliance at its core. It’s trained exclusively on open source code with permissive licenses, ensuring that you’re never exposed to legal liability.

Key resources:

Latest product updates

Introducing real time switchable AI models for Tabnine Chat. Choose from a wide range of models: two custom-built, fully private models from Tabnine, plus popular LLMs from third parties such as Command R from Cohere, Claude 3.5 Sonnet from Anthropic, Codestral from Mistral, GPT-4o, GPT-4.0 Turbo, and GPT-3.5 Turbo from OpenAI. Learn more

switchable-models

Recommended by developers everywhere:

Testimonial 1

Testimonial 2

Testimonial 3

Testimonial 4

Testimonial 5

tabnine-vscode's People

Contributors

amirbilu avatar amircodota avatar aravindvnair99 avatar assapir avatar avichay77 avatar avnerbarr avatar bilucodota avatar bl-ue avatar boaz-codota avatar dependabot[bot] avatar dimacodota avatar github-actions[bot] avatar izumicypherx avatar jackfranklin avatar kevmo314 avatar mikekosulin avatar msujew avatar nimast avatar nimrod-codota avatar ofekby avatar shaiahr avatar shakedbr-tabnine avatar talcodota avatar yahave avatar yairco1990 avatar yanir-codota avatar yonidavidson avatar yonip23 avatar yotamfromcodota avatar zxqfl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tabnine-vscode's Issues

Not able to insert next suggestion using tab

How can I insert next suggestion by pressing tab like in Sublime Text? I could cycle through all the suggestions using tab only in Sublime Text, but however I couldn't get it to work in VScode for TapNine. It works when other language autocompleter provides suggestions, but when there is only TapNine, when I first press tab it inserts the best suggestion, and tab again it won't insert the next suggestion but instead inserts '\t'. Is there a way to resolve this issue?

can't active

I buy a license . and I want to use it in my development.
I use vscode remote to dev. so the plug must install in the dev server machine.
but the machine connect to internet use the proxy with a white list controll by company
so I can't active the plug.
Has any way to solve the problem? thanks

Language server unexpectedly quit

OS X 10.14.1
VSCode 1.30.0
TabNine 1.0.4
Platform IDE 1.6.0

When coding a notification that the language server has stopped appears. Follow suggestion to do a restart and problem usually re-appears within a few minutes. Not sure of any log files or further info m=needed to resolve, just let me know.

Language server error: Failed making directory even after creating parent directories

So in VS Code, I opened a new directory /tmp/vscode-tabnine and created a file myfile.cpp in it with this content:

int main(int argc, char const *argv[])
{

  return 0;
}

But typing TabNine:: in line 3 complains that "The language server exited unexpectedly." TabNine::restart doesn't help.
image

The log from TabNine::config complains about some directory creation failing:

[2019-08-03][13:10:02][lsp::language_server_transport][ERROR] Language server error: �[0m�[1m�[91mStack trace: 5 0x5584adcb7d3a _start + 42 4 0x7f9b1833eb97 __libc_start_main + 231 3 0x5584adcacac2 main + 3618 2 0x5584add30853 LanguageServerMain(std::string const&) + 115 1 0x5584add2f8a1 RunQueryDbThread(std::string const&) + 1441 0 0x5584ade6534a /usr/local/bin/cquery(+0x22b34a) [0x5584ade6534a]�[0m �[0m�[1m�[91m( 0.492s) [querydb ] platform.cc:86 | Failed making directory for /tmp/vscode-tabnine/myfile.cpp/.cquery_cache/@tmp@[email protected] even after creating parent directories�[0m
[2019-08-03][13:10:02][lsp::controller][INFO] Language server exited

This happens in every directory. I installed cquery according to their wiki (installed it to /usr/local/). I also tried to set <config_dir>/TabNine.toml with command = "/usr/local/bin/cquery", but that has the same result.

How can I enable semantic completion for TabNine?

Here is the full TabNine log
[2019-08-03][13:10:00][updater][INFO] Current version is 2.0.4, remote has version 2.0.4.
[2019-08-03][13:10:00][frontend][INFO] Started.
[2019-08-03][13:10:00][lunar_transport::controller][INFO] TabNine Cloud is disabled, communication thread is sleeping until configuration change...
[2019-08-03][13:10:00][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:01][lsp::session][INFO] Spawning controller for route Route { language: "cpp", root: AbsolutePath { path: "/tmp/vscode-tabnine/myfile.cpp", uri: "file:///tmp/vscode-tabnine/myfile.cpp" } }
[2019-08-03][13:10:01][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:10:01][lsp::low_level_language_server][INFO] Calling LSP method `DidOpenTextDocument`
[2019-08-03][13:10:01][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:01][lsp::language_server_transport][INFO] Starting language server: `/usr/local/bin/cquery --init={"cacheDirectory": "${project_root}/.cquery_cache"}`
[2019-08-03][13:10:01][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:01][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:01][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:10:02][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:10:02][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:02][lsp::language_server_transport][ERROR] Language server error: �[0m�[1m�[91mStack trace: 5 0x5584adcb7d3a _start + 42 4 0x7f9b1833eb97 __libc_start_main + 231 3 0x5584adcacac2 main + 3618 2 0x5584add30853 LanguageServerMain(std::string const&) + 115 1 0x5584add2f8a1 RunQueryDbThread(std::string const&) + 1441 0 0x5584ade6534a /usr/local/bin/cquery(+0x22b34a) [0x5584ade6534a]�[0m �[0m�[1m�[91m( 0.492s) [querydb ] platform.cc:86 | Failed making directory for /tmp/vscode-tabnine/myfile.cpp/.cquery_cache/@tmp@[email protected] even after creating parent directories�[0m
[2019-08-03][13:10:02][lsp::controller][INFO] Language server exited
[2019-08-03][13:10:02][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:02][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:04][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:04][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:04][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:28][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:28][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:28][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:10:32][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:32][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:32][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:44][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:44][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:44][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:48][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:48][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:48][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:10:58][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:10:58][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:10:58][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:11:01][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:11:01][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:11:01][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:11:01][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:11:01][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:11:01][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:11:01][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:11:01][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:11:01][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:11:01][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:11:01][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:11:01][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:13:37][server][DEBUG] [autocomplete] 4 ms
[2019-08-03][13:13:38][lsp::low_level_language_server][INFO] Calling LSP method `DidChangeTextDocument`
[2019-08-03][13:13:38][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:38][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:38][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:38][server][DEBUG] [autocomplete] 5 ms
[2019-08-03][13:13:38][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:38][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:38][server][DEBUG] [autocomplete] 4 ms
[2019-08-03][13:13:38][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:38][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:38][server][DEBUG] [autocomplete] 3 ms
[2019-08-03][13:13:38][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:38][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:38][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:13:39][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:39][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:39][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:13:39][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:39][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:39][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:13:39][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:39][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:39][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:13:40][lsp::low_level_language_server][INFO] Calling LSP method `DidChangeTextDocument`
[2019-08-03][13:13:40][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:40][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:40][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:40][server][DEBUG] [autocomplete] 5 ms
[2019-08-03][13:13:40][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:40][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:40][server][DEBUG] [autocomplete] 3 ms
[2019-08-03][13:13:40][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:40][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:40][server][DEBUG] [autocomplete] 6 ms
[2019-08-03][13:13:40][server][DEBUG] [autocomplete] 6 ms
[2019-08-03][13:13:40][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:40][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:40][lunar_transport::controller][INFO] TabNine Cloud is disabled, communication thread is sleeping until configuration change...
[2019-08-03][13:13:43][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:13:45][lsp::session][INFO] Spawning controller for route Route { language: "cpp", root: AbsolutePath { path: "/tmp/vscode-tabnine/myfile.cpp", uri: "file:///tmp/vscode-tabnine/myfile.cpp" } }
[2019-08-03][13:13:45][lsp::language_server_transport][INFO] Starting language server: `/usr/local/bin/cquery --init={"cacheDirectory": "${project_root}/.cquery_cache"}`
[2019-08-03][13:13:45][lsp::low_level_language_server][INFO] Calling LSP method `DidOpenTextDocument`
[2019-08-03][13:13:45][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:45][server][DEBUG] [autocomplete] 11 ms
[2019-08-03][13:13:45][lsp::language_server_transport][ERROR] Language server error: �[0m�[1m�[91mStack trace: 5 0x556b83f7ad3a _start + 42 4 0x7f7011542b97 __libc_start_main + 231 3 0x556b83f6fac2 main + 3618 2 0x556b83ff3853 LanguageServerMain(std::string const&) + 115 1 0x556b83ff28a1 RunQueryDbThread(std::string const&) + 1441 0 0x556b8412834a /usr/local/bin/cquery(+0x22b34a) [0x556b8412834a]�[0m �[0m�[1m�[91m( 0.465s) [querydb ] platform.cc:86 | Failed making directory for /tmp/vscode-tabnine/myfile.cpp/.cquery_cache/@tmp@[email protected] even after creating parent directories�[0m
[2019-08-03][13:13:45][lsp::controller][INFO] Language server exited
[2019-08-03][13:13:46][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:13:46][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:13:46][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 5 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 11 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 3 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:13][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:13][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:14:14][lsp::low_level_language_server][INFO] Calling LSP method `DidChangeTextDocument`
[2019-08-03][13:14:14][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:14][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:14][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:14][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:14:14][lsp::low_level_language_server][INFO] Calling LSP method `DidChangeTextDocument`
[2019-08-03][13:14:14][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:14][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:14][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:14][server][DEBUG] [autocomplete] 3 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 4 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 4 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 6 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 2 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 1 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 0 ms
[2019-08-03][13:14:15][ui::http_server][ERROR] Could not start server on 5555: Io(Os { code: 98, kind: AddrInUse, message: "Address already in use" })
[2019-08-03][13:14:15][ui::http_server][INFO] Started config server at V4(127.0.0.1:45877).
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 41 ms
[2019-08-03][13:14:15][lsp::low_level_language_server][INFO] Calling LSP method `Completion`
[2019-08-03][13:14:15][lsp::low_level_language_server][ERROR] send error: "SendError(..)"
[2019-08-03][13:14:15][server][DEBUG] [autocomplete] 52 ms

Wrong version installed (1.0.1)

image

1.0.1 this is the only version i get.
using ext install TabNine.tabnine-vscode i get the same version.

FORGET IT, IT WORKS, ONLY THE VERSION SHOWN IS WRONG

[BUG][SEMANTIC] Failed to install ruby semantic support

System info

VS Code

Version: 1.37.1
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:16:34.800Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.7.0

User ruby version manager: rbenv

log

[2019-08-31][01:20:05][lsp::language_server_transport][ERROR] install error: Custom { kind: Other, error: "Output { status: ExitStatus(ExitStatus(256)), stdout: \"\", stderr: \"ERROR: While executing gem ... (Gem::FilePermissionError)\\n You don\\\'t have write permissions for the /Library/Ruby/Gems/2.3.0 directory.\\n\" }" }

Diagnostic

Basically the correct gem executable is set by $PATH. So my guess is the TabNine process does not inherit the $PATH env variable. (Tried "start vscode from the terminal" trick but the TabNine still can't get the correct $PATH.

TabNine commands doesn't work

After extension installation (and vscode reloading), when I try to open config by TabNine::config nothing happens.

win10, vs code v. 1.37.1

appears to break snippets support completely

I haven't historically used snippets a lot, but I was going through all my extensions and realized that I had a few snippet extensions that I could've been using, but really haven't been. I went to try them out, and noticed that snippet support was not working at all. Uninstalling tab nine fixed it, and all my snippets work now.

TabNine still works when "Snippets Prevent Quick Suggestions" setting is turned on.

The VSCode setting editor.suggest.snippetsPreventQuickSuggestions is intended to preempt the usage of Tab key. When this setting is turned on, Tab is used for jumping from current stop position to next stop position. Completion functionality should be disabled now. But I found that when this setting is turned on, TabNine still works, and hence occupies the Tab key. I wonder if this is a bug or an intended feature?

TabNine blocks access to directories

It may be hard to reproduce, close if you decide not to give it a try. I can not provide all required sources to reproduce.

My problem: I have installed tabnine extension to VS Code (all's up to date) and since then, I have problem with accessing some of my directories. Let it be explained in steps. (Windows 10 here)

  1. TabNine is enabled
  2. I use tasks to call some python scripts (mostly reading, moving and deleting files) based on the file I am already editing.
  3. Sometimes, my scripts won't end properly, due to lacking permission to remove the file (created by them).
  4. The fun begins:
  • For the file created (by the scripts), I can not delete it or view it. Windows tells me that I have not correct permission (that's weird) and I need administrator permission from myself (even though I have created this files, no admn privileges was given to python). There is no access to the file and no script with admin privileges can modify the file in any way.
  • After about a hour, the issue is gone.
  • Closing VS Code make the problem disappear.
  • Killing TabNine process only also helps.
  • When TabNine (or VS Code) killed, the file disappears.

Summary:
What bothers me most is windows saying that I have not permission to my own folder. It is clearly not explaining what is happening with the files and what is a reason of this behavior.

Weird suggestions

I installed this plugin today and it has been working fine until I jumped into another project.

Getting the following suggestions, and I don't know where they're coming from:

screenshot 2018-11-07 at 17 15 34

Not Available for Visual Studio Community/Pro/Enterprise

Just adding this here so I can follow it for when it's released for regular (non-Code) Visual Studio. Guessing I'm not the only one who's interested.

(for those who don't use Visual Studio, the Code edition is nothing like regular Visual Studio, with a subset of features and very little overlap in terms of infrastructure).

tabnine and auto import can not both work

first, thanks for the awesome tool.

the auto import feature for typescript can not work when upgrades vscode to 1.37.0.
the feature is ok when i disable the tabnite extension, so the tabnine seems to have compatibility issues for the latest vscode.

Windows 10 64bit flow integration and config loading

Just wanted to leave this here, which flow will not point to the right path on Windows 10 64bit.
I managed to get flow lsp working by using this configuration:

[language.javascript]
command = "C:\\Users\\dev\\AppData\\Roaming\\npm\\flow.cmd"
args = ["lsp"]
install = [["npm", "install", "-g", "flow-bin"]]

On config loading, it seems that TabNine treats files as folders when trying to look for a root / config file, and it's trying to open all the **/./.tabnineroot paths.

Thank you for your work, this is awesome!

Conflicts with vscode's own TS/JS intellisense

Without TabNine:
image

With TabNine:
image
with TabNine enabled (+semantic completion with flow), vscode only give suggestions from TabNine. but I can manually trigger a list containing all suggestions with Control+space

Expected behavior:
The completion list should contain all suggestions from TabNine and other sources when typing on-the-fly.

coc.nvim source

It would be awesome to have TabNine integration with coc.nvim, though I'm not familiar enough with TabNine to know how it would work. If it implements LSP it probably wouldn't be too much work.

Extra closing brace in string

I noticed that an extra closing brace is added with some suggestions unnecessarily

Screenshot 2019-07-26 at 11 31 11

Screenshot 2019-07-26 at 11 35 38

Screenshot 2019-07-26 at 11 35 50

Screenshot 2019-07-26 at 11 35 55

I would expect the end result to be ${encodeURI(file)}

bad cursor placement with parentheses

consider the following code:

hello = "world!"

print(hello)

with the native autocompleter, after typing print(h, hello will be in suggetions. When I hit Tab, I will see the following:

p r i n t ( h e l l o )
                     ^

caret indicates cursor placement.
At that point, before the closing paren, if I hit ) on my keyboard, the closing paren is overwritten and I see this:

p r i n t ( h e l l o )
                       ^

With TabNine's completion, at the same point, if I hit ), another closing paren is inserted:

p r i n t ( h e l l o ) )
                       ^

This makes using completions very painful.

Tooltip cuts off

Hello,

When using the vscode version of the tool, it's not possible to read the entire autocomplete suggestion, and it's also not possible to scroll it.

How should such cases be handled?
Thanks!

TabNine spawning hundreds of Python processes via pyls

After maybe half an hour of using the v1.0.3 TabNine extension for Python editing, my process tree looks like this:

image

Right now there's about 300 processes total in there, but my highscore is 1000+ before I noticed. Almost all of them are children of pyls.

[Feature request] Closing brackets

For example. I write elem and it correctly suggests to me elements.push(. I just wish it also had the closing bracket (elements.push()). Without this I'm skeptical about if this thing actually saves time as I now need to think extra about what I'm seeing. Normal autocomplete is not as good at guessing, but at gives me what I expect.

EDIT

I've got a better example.

  1. I have <button></button>
  2. I write <button onC></button>
  3. it very awesomly completes that to <button onClick={() =></button>
  4. Now I must type >} just to close brackets. Result: <button onClick={() => }></button>

but notice how much brain power it takes to figure out what brackets are missing. This particual example is specially crazy as the => symbol is very much what is expected so my brain goes "why did it remove the >? But actually the > belongs to the <button> tag already..

EDIT2

I just now noticed, that the caret is left at the end of the => so <button onClick={() =>|HERE|</button>. Which confirms my (wrong) suspicion, that autocomplete added the => and removed a >.

Cannot Connect

The TabNine information shows that the Activate is "No". And it always tell me "Establishing connection to TabNine Cloud..."

image
image

Not working on vscode

Bought a license but can't seem to activate it, does not autocomplete the version. It seems to work on Sublime.

Try using vscode-python language server instead of installing pyls?

TabNine is utterly fantastic, and it's great to see it using LSP for semantic completion. However, installing pyls is an odd choice when inside VSCode: most Python users will already have vscode-python installed (it's the single most popular VSCode extension) and it comes with its own language server, one that has considerably more work going into it than Palantir's.

Is it possible to default to using vscode-python's language server?

Multi-cursor support

At the moment when are presented with suggestions, upon selecting one, only the first selection is populated. It would be nice if all selections were populated in the cases where you are using multiple cursors.

Sorry, the architecture 'ia32' is not supported by TabNine.

Hi there,

I am using VSCode with Windows 10 x64:

image

After installing TabNine successfully, I tried to type something at the editor, but nothing happened.

Check the console to find the following error:

[Extension Host] Error setting up request: Error: Sorry, the architecture 'ia32' is not supported by TabNine.

image

I wonder if the architecture detection algorithm has an error, or why is this?

Inserted placeholders are not accessible

When editing python code (with Python extension ms-python.python installed and activated) some of completions are inserted with placeholder strings like ${1:filename} etc. This strings suggest that they are to be navigated by pressing <tab>, yet this does not happen. I also have vscodevim.vim plugin enabled, which can interfere with this.

Can these placeholders be turned off somehow?

How do I disable it for SCSS?

I wish I can disable it in some file formats that I have other auto suggesters that I like more, especially in css.

suggestions are messed up

I noticed this problem some days ago, before that it worked well. Say I have a variable call "distance". If I type the beginning of it, "di", Tabnine suggests "distance". If I hit Enter on it, the result becomes "didistance", so I need to jump back and correct it manually.

TabNine semantic installation on windows

So even after the install of the language-server (atleast for html, css, scss and js ones)

The semantic completion still fails to work properly and shows the install failed error.

This isssue is on Windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.