4 ms·
I set my autocomplete/snippet expansion key to tab (it's a Sublime setting) so that I never have any conflicts. Sublime actually tries harder than other editor
by trishume 10y ago
I set my autocomplete/snippet expansion key to tab (it's a Sublime setting) so that I never have any conflicts.
Sublime actually tries harder than other editors to avoid these, but it's not perfect. See for example https://github.com/sublimehq/Packages/blob/master/Ruby/Completion%20Rules.tmPreferences https://github.com/sublimehq/Packages/blob/master/Ruby/Compl... which stops it from autocompleting on common end of line keywords in Ruby. This wasn't a default in Emacs so I had to spend a couple of hours figuring out how to do this myself before I could do newlines: https://github.com/syl20bnr/spacemacs/pull/174 https://github.com/syl20bnr/spacemacs/pull/174
I'm not sure there are any editors that have auto-complete on enter but don't have any issues with conflicts.