Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 ";".

like image 640
Jimmy Chan Avatar asked Oct 27 '25 05:10

Jimmy Chan


1 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.

like image 132
gezquinndesign Avatar answered Oct 29 '25 09:10

gezquinndesign