TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

Option to disable autocomplete for code comments

Open duncancarroll opened this issue 7 years ago • 12 comments

While I find TabNine to be very useful for code, the autocomplete is not useful when writing comments, and just adds unwanted noise.

Recommend adding a feature which allows disabling of autocomplete after a comment prefix is detected (// <!--, #) etc. Would be best if this were enabled (i.e. comments are not autocompleted) by default!

duncancarroll avatar Aug 28 '19 17:08 duncancarroll

I've added to the backlog a task to make completion more conservative in comments.

zxqfl avatar Nov 05 '19 15:11 zxqfl

I think this is already implemented, but perhaps doesn't work for all cases? I don't get completions in comments when writing Python code in Vim with TabNine.

uolot avatar Nov 05 '19 17:11 uolot

Issue still happenning on PHP using multilne comments for functions documentation. Eg: /*

  • this should not autocomplete */

narnianpony avatar Jun 30 '20 13:06 narnianpony

This still happens when writing Python in PyCharm.

imaandrew avatar Nov 22 '20 22:11 imaandrew

I would really appreciate being able to remove auto-suggestions from comments, it can be quite frustrating, annoying. Would be nice if a script could be written into user preferences for this.

pychap avatar Feb 22 '21 19:02 pychap

+1

Dezzymei avatar Sep 13 '21 15:09 Dezzymei

+1. Being "more conservative" is not likely to help until you have an ESP chip. I would like to turn them off.

Smitty010 avatar Sep 27 '21 21:09 Smitty010

Can we please implement this on Python (using Pycharm). My god it is annoying. It is the only reason why I don't use tabnine. It's a nightmare if you want your code to be well documented.

filipejunqueira avatar Feb 02 '22 08:02 filipejunqueira

Autocompletion in comments is a annoying, but that's not all, I am also getting autocompletion for code obtained from what I've written in comments, which is also annoying.

stramin avatar May 03 '22 13:05 stramin

I am very close to canceling my Tabnine subscription for this reason. It is too aggressive with making suggestions for things other than code.

bramirezMAP avatar Sep 01 '22 15:09 bramirezMAP

Why is this closed?!? This is getting so annoying and it's happening in Rust as well. As a paid service, I'm also considering cancelling, because its slowing me down just to comment my own code...

tr3ysmith avatar Feb 23 '23 22:02 tr3ysmith

I cannot stand Tabnine constantly auto completing comments.

pbower avatar Nov 29 '24 07:11 pbower