After ;
, i.e at the end of each line when I press enter , I get word 'prototype' is added() by the auto completer.I i press shift+enter then acts as normal enter without any autocomplete. added. How can I stop auto-completion after a semi-colon?
and this is the list of packages I have installed.I think its a problem related to some package.
If any of these packages causing problem plz help me out
Add this to your settings:
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc - punctuation.terminator - punctuation.separator"
This will prevent the autocomplete suggestion pop-up from appearing after typing semicolons or other statement terminators, or separators such as commas and colons.
Relevant documentation:
For anyone looking, my problem was the package 'SublimeCodeIntel'.
It was adding $('string/element/array/function/jQuery object/string, context')
to the end of every line, after typing a semicolon (the autocomplete suggestion was $('#select DOM Element')
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With