Sublime Forum

Autocomplete stopped working?

#1

I’m new to sublime (currently using 3) and I like it a lot, however some of the autocomplete functions have suddenly stopped working. Previously I could type “html” + tab to automatically fill in an html document skeleton. Then I opened a new file and tried to start it off this way, but the autocomplete didn’t work. Furthermore the popup bubble for autocomplete tags no longer pops up when typing and all the text has shifted to white as if it isn’t registering with the program that I am typing html tags.

The only thing I changed was this preference:

“auto_complete_commit_on_tab”: false,

to “true”, but then I changed it back when it didn’t seem to do anything. I’ve done some searching, but similar problems with others mention using an “Emmet” plugin. However, I haven’t installed any plugins either. What could be causing this? If I can’t get it fixed I will probably not continue using sublime.

EDIT: Fixed. Apparently none of these features work unless you save the file first. Good to know for anyone else who has this problem.

0 Likes

#2

Additional ways to set the syntax to HTML without saving first are:

  • Open the command palette and select Set Syntax: HTML
  • Select View > Syntax > HTML from the menu
  • The bottom-right of the window will say Plain Text for a new file; clicking it opens a syntax menu similar to the above one where you can select HTML
2 Likes

#3

Thx so mutch!

0 Likes