How to disable Auto Complete in Sublime Text (2&3)

前端 未结 6 1057
长情又很酷
长情又很酷 2021-02-14 10:02

I understand there are a few questions surrounding the auto_complete function in Sublime Text.

However, I have not been able to disable the auto_complete function in t

相关标签:
6条回答
  • 2021-02-14 10:39

    This is the first result that pops up when Googling "Sublime Text disable autocomplete", and none of the answers answered my question completely, so I'd just like to add to the existing answers that if you are setting auto_complete to false and still having problems with Sublime Text auto-closing parentheses and brackets, then you also need to set auto_match_enabled to false. This should solve the problem. So as a whole, here is what I have:

    {
        "auto_complete": false,
        "auto_complete_commit_on_tab": false,
        "auto_close_tags":false,
        "auto_match_enabled": false
    }
    
    0 讨论(0)
  • 2021-02-14 10:48

    There are two options:

    1: In Preference --> User, Check if TernJS plugin is Installed. If Yes, Unistall it from your editor (i.e. Sublime Text Editor).

    2: In Preferences --> User, check for the auto_complete and change it to false

    "auto_complete": false,

    Restart Your Editor(Sublime Text)

    0 讨论(0)
  • 2021-02-14 10:48

    I came here looking for a Python-related solution, where autocompletion worked well for variable names etc. but was quite slow for methods etc.

    So, to disable Python syntax autocomplete:

    • open the command palette with ctrl + shift + P
    • enter Package Control: Remove Package and select it
    • enter Jedi and remove the Jedi autocomplete package
    0 讨论(0)
  • 2021-02-14 10:50

    This should be the option.

    {
        "auto_close_tags":false
    }
    
    0 讨论(0)
  • 2021-02-14 10:56

    Put , after font-size:17 like:

    {
      "font_size":17, //note a comma here after 17
      "auto_complete": false,    
    }
    
    0 讨论(0)
  • 2021-02-14 11:04

    My solution to this problem was to change "auto_complete_commit_on_tab" from true to false. This way you aren't turning off autocomplete altogether, but the autocompletion is ignored unless you hit the tab key.

    In preferences, user settings, add:

    {
    "auto_complete_commit_on_tab": false
    }
    
    0 讨论(0)
提交回复
热议问题