Git Product home page Git Product logo

Comments (5)

amircodota avatar amircodota commented on May 10, 2024 1

Thank you for that feedback.

I'm re-opening and marking as enhancement.
Will evaluate it with out other priorities.

from tabnine.

RhysU avatar RhysU commented on May 10, 2024

Was this closed as fixed or wontfix? I just updated TabNine and see the same behavior that I initially reported to Jacob back in January 2019 (i.e. no change)...

In addition to TabNine, I would like to add a dictionary of keyword completions like so: https://github.com/RhysU/dotfiles/blob/master/.vim/after/ftplugin/scheme.vim. The use case is looking up APIs that I know exist prior to their first usage within a given project. I do see these completions appear within vim but not as I'd expect. Concretely and referring to attached images s{1,2,3,4}.png:

s1.png) Within a scheme file I type '(st' and I see string/sqrt/substring/list. Typing Control-N cycles through these 4 choices.
s2.png) I continue typing 'ring' and see both string/substring. Typing Control-N cycles through these 2 choices.
s3.png) I type '-' and now see no completions available.
s4.png) I type Control-N once and my dictionary becomes active.

s1
s2
s3
s4

I expected the dictionary completions to somehow be "incorporated" during steps s{1,2,3}. In those screenshots, the dictionary extension was .dict but I see the same behavior after moving to .ss per RhysU/dotfiles@5e07d23. Jacob said that having a global dictionary was not supported at the time and filed this tracking ticket.

from tabnine.

amircodota avatar amircodota commented on May 10, 2024

@RhysU

Sorry for not writing more. Since this was opened by @zxqfl, I assumed this was something he filed for his own tracking - was not aware that it was due to a user request.

We closed it as a "wontfix". We have other idea as to how to support specific languages, but we do not plan to add pre-specified dictionary of tokens - at least not in the foreseeable future.

from tabnine.

RhysU avatar RhysU commented on May 10, 2024

Thank you for the explanation. The root reason for this feature request wasn't to support a particular language but rather to ease working in a particular setting.

For example, here I had wanted to use a token dictionary containing everything known to Chez Scheme (https://github.com/RhysU/dotfiles/blob/master/.vim/after/ftplugin/chezscheme.ss). Other folks might, e. g., want to augment Lua with identifiers for their scripting setting.

As a workaround, @zxqfl had recommended copying that dictionary into each project.

All of which I mention just to provide more context. Thank you your work on TabNine.

from tabnine.

stale avatar stale commented on May 10, 2024

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.

from tabnine.

Related Issues (20)

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.