Live data from Hacker News

Show HN: TabNine, an autocompleter for all languages

tabnine.com

81–90 of 193 posts

Re: Show HN: TabNine, an autocompleter for all languages

#81

> your software will automatically update to the full released version at no additional charge. So, give your proprietary software both network access and access to all my source code? I have very few complaints about the Jedi autocomplete library, which is neither proprietary nor requires network access. I welcome innovation in dev tools, but I wish you had found a monetization strategy that didn't require us to tru…

I agree with your concerns - I wonder what could be written to alleviate them? This brings up an interesting problem. Ie, could we write a monitoring proxy where if enabled, all traffic goes through this proxy. This proxy enables the end user to monitor 100% of traffic, all http requests, and could even have a secondary documentation flow that explains the I/O for security minded individuals. Then you'd shut off remo…

Take a look here for some solutions:

https://www.openmined.org

Re: Show HN: TabNine, an autocompleter for all languages

#83

> TabNine builds an index of your project, reading your .gitignore so that only source files are included. Heads up, it's not necessarily uncommon for JS developers to include node_modules in their git repos. If you're developing something like an Electron project or a website instead of a library, it's even sometimes advised to do so -- there's a line of thought that your static dependencies should be tracked as par…

Same thing for Composer's `vendor/` directory with PHP, or Python's virtualenv folder, depending on the way the project is setup.

Re: Show HN: TabNine, an autocompleter for all languages

#84
I'm trying this with VSCode and C#. It's quite neat, though no doubt it'd be even better with a dynamic language.

My main issue is when I type a '.', the C# extension gives me an accurate list of members, but TabNine intersperses its own guesses, which are often wrong.

Possible fixes or mitigations (VSCode API permitting):

- After a '.', discard the TabNine completions whose prefix doesn't match one of the C# completions.

- After a '.', discard all one-word TabNine completions.

- Give all TabNine completions a different icon and maybe sort them all at the top or bottom.

Re: Show HN: TabNine, an autocompleter for all languages

#85

How does licensing work? Does this give me a file I put on my machine? I have my dotfiles checked into git, so I'd rather not commit the license publicly.

You get a license code that you paste into an editor with TabNine installed. The autocompletion engine sees it and completes the registration. Not sure where it gets saved ultimately.

Re: Show HN: TabNine, an autocompleter for all languages

#87
I just installed it in Sublime Text 3, TabNine seems to expand the first autocompletion only if the character to the left of cursor is not a whitespace, i.e. if I'm typing "let v = |" (where | is a cursor) and TabNine shows me a list of autocompletions, I press Tab key and then \t is inputted instead of first suggestion.

Re: Show HN: TabNine, an autocompleter for all languages

#88

Why is the paid index limit 15MB? Why does the paid version have a limit?

TabNine will still work on projects of 15MB or more, it will index the 15MB of files that are most relevant to the files you are editing (determined by distance in the directory tree).

The limit exists because otherwise latency or RAM usage might be too high.

Re: Show HN: TabNine, an autocompleter for all languages

#89
> Why is it called TabNine?

> When using the Sublime Text client for TabNine, the keyboard shortcut to select the ninth suggestion is Tab+9.

Before reading that I thought it was loosely named after the old T9 (Text on 9 keys) predictve system for mobile phones with numeric keypads only.

That being said, while I'm still passively learning to code and may not need a full license yet, it's a well-priced gift idea for friends who are full-time developers.

Re: Show HN: TabNine, an autocompleter for all languages

#90
post #77
post #57

Earlier quoted context omitted.

Xcode has handled this for years. In Xcode, when autocompletion is presented, hitting Tab will complete the longest unique prefixed subword for the currently-selected tab item. If this results in only having one completion option left, then it completes the whole thing (e.g. adding method arguments and whatnot). Similarly, hitting Return will just complete the whole entry instead of the longest unique prefixed subwor…

*nix shells typically do something very similar, where hitting tab auto-completes up to the first forking character

After recently binge-watching The Good Place, this comment rattled me :)
Post reply on HN