Sublime Forum

ST3 autocomplete suggests words from comments

#1

Is there any way to stop autocomplete from suggesting words written in comments?
The only setting regarding comments I could find was:
“auto_complete_selector”: “…, source - comment …”,
but this only turns off autocomplete whle writing comments, right?

An example of my issue:

int main()
{
/*

  • Some programming notes
    */
    //And a comment
    int i, result;

If I type “pro” or “com”, below the above, ST suggests “programming” and “comment”, which I of course don’t want.
-Can I exclude comments from Sublime Texts auto- complete suggestion scope?

0 Likes

#2

this is currently not possible without a third party plugin to replace the default buffer completion behavior, there is an open feature request for this on the bug tracker here:

1 Like