sublime-php-snippets icon indicating copy to clipboard operation
sublime-php-snippets copied to clipboard

"php" goes to next field instead of expand_snippet

Open pawel-dabek opened this issue 2 years ago • 2 comments

When i try to use php snippet with tab autocomplete key it goes to next_field instead of expanding snippet. After it goes to next_field I have to use mouse to go back and then hitting tab works. Any way to ovveride this behaviour? I am using ST4 with tab_completion set to true.

pawel-dabek avatar Jun 07 '22 10:06 pawel-dabek

"tab_completion": true, should make it work, maybe you have auto complete with fields enabled?

	// Controls if auto complete is shown when snippet fields are active.
	// Only relevant if auto_complete_commit_on_tab is true.
	"auto_complete_with_fields": false,

gerardroche avatar Jun 07 '22 18:06 gerardroche

I tried above setting and it didn't help.

I think it has to do something with Emmet. I can't make it work together. "php" snippet works correctly after I remove Emmet. Fortunately "<?" snippet works even with emmet installed so I might just try to get to used to it.

pawel-dabek avatar Jun 07 '22 19:06 pawel-dabek