I want to disable the sublime autocomplete suggestion pop-ups when I type semicolon

Viewed 1269

I am using the SublimeCodeIntel package and currently, when I type a semicolon to end a line, Sublime keeps popping up the autocomplete suggestion box:

example of the autocomplete suggestion after putting a semicolon

Currently, I have to press "Shift+Enter" after semicolon or "Esc" then "Enter" to jump to the next line, but this is very annoying. I don't want to disable autocomplete altogether, instead, I want to disable the autocomplete suggestion pop-ups specifically when I type semicolon ";".

2 Answers

Not sure if you resolved this but I got this behaviour to stop by following instructions posted here:

On Windows:

Select Package Settings > SublimeCodeIntel > Key Bindings - User,
and add the following to the Default (Windows).sublime-keymap - User:

{ 
  "keys": [";"], 
  "command": "run_macro_file", 
  "args": {"file": "Packages/User/unAutoSemiColon.sublime-macro"} 
}

And then Select Preferences -> Browse Packages -> Users,
save a file named unAutoSemiColon.sublime-macro with the following contents:

[
    {
        "args":
        {
            "characters": ";"
        },
        "command": "insert"
    }
]

Finally, restart your sublime and the problem will be solved.

I was also facing the same problem. In my case it was due to a package 'Auto Complete JavaScript with Method Signature'. Check your list. If you have this package in the installed package list disable it. The auto completion extensions will not be there.

Related