Sublime Forum

Emmet in php files need double tab

#1

Hi
In php files emmet need to double push tab for autocomplete. Is it possible to fix this problem?
Thanks
PS: on gif i push double tab for autocomplete

0 Likes

#2

Wouldn’t it ambiguous what should be done after you press a single tab while the autocompletion box is visible?

  • do Emmet expansion -> no, I want to autocomplete
  • do autocomplete (current, expected behavior) -> no, I want to Emmet expand
1 Like

#3

I am just starting to use sublime text so i am trying to understand.

Sorry i dont understand what mean
“do Emmet expansion -> no, I want to autocomplete
do autocomplete (current, expected behavior) -> no, I want to Emmet expand”

As i think its some settings but i cant find it in emmet config file

Thanks a lot

Is it possible to understand from what package this autocomplete?
Its not useful autocomplete. Is it possible to set up for working only emmet and snippets?

0 Likes

#4

In short, I don’t have a solution.


Most likely it’s from the ST core because div has been already used in other places in your file.

With a comparison to Emmet expansion, indeed. But if it’s really from ST’s core, it’s general purpose autocompletion.

You can completely turn off autocompletion but I don’t think you want to do that. You need autocompletion for PHP and other languages, isn’t it?

	// Enable auto complete to be triggered automatically when typing.
	"auto_complete": true,
1 Like