Sublime Forum

Mini_auto_complete=true is amazing! Why is it undocumented?

#1

So I’ve just discovered this undocumented setting from: https://github.com/SublimeText/PackageDev/blob/master/Package/Sublime%20Text%20Settings/Preferences.sublime-settings-hints.

I’ve been using it for a couple of days, and I instantly got addicted to it. Up 'till now (years) I’ve always found that the completions pop-up used to show up way too often. It distracted me quite a bit, to the point that I had set "auto_complete_delay": 200 only as a way to mitigate that, but it never really worked out.

In my settings now I have:

    // Show the first completion candidate as a phantom.
    // Experimental since 4057.
    "mini_auto_complete": true, // undocumented
    "auto_complete_delay": 0,

…and I feel I can type faster and I’m less distracted. This was a game changer for me. I understand it’s an experimental setting, but it’s shame that something this good is hidden and basically unknown. I think it should be advertised more.

Can we at least have it disabled by default but listed in Preferences.sublime-text? Or are there major drawbacks I should be aware of?

6 Likes

#2

Thank you for sharing! I played around with it a little bit, and it seems quite helpful for me as well. However, I was unable to commit the auto completion by pressing Tab. I am not sure if this is intentional, or if it is not currently compatible with "auto_complete_commit_on_tab": true,.

0 Likes

#3

This is nice! Thanks for sharing. It does complete the suggestion on hitting Tab

The only thing missing is the suggestion for partial text within quotes. It’d be nice to have the same behavior in that context too.

0 Likes

#4

Sorry, I had changed the default key bindings. mini_auto_complete does complete the suggestion after pressing Tab.

0 Likes

#5

Wow. This is amazing. This is like the zsh-autosuggestions plugin that I love so much.

Thank you @giampaolo for bringing this to my attention!

1 Like

#6

Love it! Thanks for mentioning it!

0 Likes