DEV Community

Discussion on: TabNine - Put your coding speed to the next level

Collapse
 
miketalbot profile image
Mike Talbot ⭐ • Edited

Well after your article I decided to try it out. Won't be free for me on my project but it's already looking very interesting. Annoying that it corrects me in Markdown and not always when I notice! Thanks for this.

I'm glad it runs all locally - very important that for my stuff.

Collapse
 
nicolalc profile image
Nicola

Hi Mike! Thanks for trying it!

Yes sometimes it's pretty annoying but it strongly depends on which IDE are you using and your coding speed!

To fix that I think you need to think in a different way while you write your code, personally I switched from auto-completion to driven-completion (lol what's that 😂).

Basically, before using TabNine I was tabbing everything, letting the IDE complete the code for me.
Now with TabNine, I wait for its suggestions before tabbing (or alt-spacing) and let it write the right code for me. That's what I call a driven-completion.

I swear this might help you, any way you need a bunch of time to master this new way of coding.

PS. If you well document your code before writing it, the suggestions will be more precise.

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Yeah I'm not sure why it's autocorrecting Markdown - on Webstorm - my CHANGELOG.md randomly has a version number that isn't right lol.

I can see what you mean on the tab to complete stuff, definitely interesting given all of the more complex structures it suggests. Never been a fan of editor shortcuts, but maybe....

Thread Thread
 
nicolalc profile image
Nicola

Damn, that's strange at all!

I think the plugin is reading all your files, and maybe it touches them.

According to FAQs:

Since TabNine does not parse your code, it will never stop working because of a mismatched bracket.

I don't think it's changing your file metadata or something like that. Can I ask you to provide an example of what's happening? Maybe I can help you!

Thread Thread
 
miketalbot profile image
Mike Talbot ⭐ • Edited

Well it's active in my Markdown - offering suggestions, which is a little unhelpful really - I'm not expecting my English to change on Enter

I typed this:

#### 2.1.50

- Handle the case where the Promise yielded is immediately resolved without
  going through the restart process

And it stuck a 7 on the end of the version number

Thread Thread
 
nicolalc profile image
Nicola

It helps you with code first, and it "works" also with markdown, but as a syntax language it tries to help you with some suggestions calculated on your code, so it could mess a little bit up. Anyway, I've tried on a new markdown file and It's not happening, I think it is because is learning from your code and somehow it matches the wrong words. I'll check TabNine devs for that to learn more about this behaviour.