Sublime Forum

Sublime Text autocomplete broken?

#1

In Sublime Text 3, there was a autocomplete for html. It would write a simple HTML document. However, in Sublime Text 4, there is no popup of autocomplete. I need to press tab to use them. So, I will not know if there is any auto-completion for html. However, I know this, but it is only for html, not for others, so to know this, I need to extract every packages, then find them. But it is a bad solution. Is there any way so that the popup will come back? :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile:

0 Likes

#2

Start typing tags using <.

0 Likes

#4

Hey thank! Btw in Sublime Text 3, we don’t need to use < for this autocomplete. :thinking:

0 Likes

#5

Basically start typing tag name only should work, too.

The maybe unexpected change is to need hit tab twice to complete it. First tab opens completions panel and second one commits selected candidate.

Immediatelly commiting works for snippets (sublime-snippet files) only in ST4, while html tags have always been completions.

The < trigger was added to default preferences as it is a clear indicator for start of a tag. Completions plugin has been improved to show all known tags, while it used to show nothing in ST3 right after hitting <.

To get old behavior back with what we have atm, would require to create a sublime-snippet file for each html tag. Not sure whether it is the right way to go.

If completions panel is too annoying, setting "mini_auto_complete": true might improve situation a bit, while it still requires hitting tab twice.

1 Like