Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emmet/HTML snippets don't work #22

Closed
bugproof opened this issue Oct 25, 2019 · 4 comments
Closed

Emmet/HTML snippets don't work #22

bugproof opened this issue Oct 25, 2019 · 4 comments

Comments

@bugproof
Copy link

bugproof commented Oct 25, 2019

It works fine in PHP files but it doesn't in smarty *.tpl

image

I even have these settings:

"emmet.syntaxProfiles": {
			"tpl": "html"
		},
		// "emmet.includeLanguages": {
		// 	"smarty": "html"
		// },
		"emmet.triggerExpansionOnTab": true,

what's the deal?

@bugproof
Copy link
Author

bugproof commented Oct 25, 2019

ok it seems to work with "emmet.includeLanguages". syntaxProfiles is not needed https://code.visualstudio.com/docs/editor/emmet#_emmet-abbreviations-in-other-file-types

@digiage
Copy link

digiage commented Jul 2, 2021

still can't make it work. not sure why

"emmet.includeLanguages": {
    "tpl": "html"
}

image

@digiage
Copy link

digiage commented Jul 2, 2021

ok. works with :

      "emmet.includeLanguages": {
          "smarty": "html"
      }

@edpol27
Copy link

edpol27 commented Apr 22, 2022

tab key doesn't expand abbreviation. It works in html, but not in smarty.
ml10 goes to
with ctrl+space I see a correct suggestion
"emmet.triggerExpansionOnTab": true option is enabled

UPD:
"files.associations": { "*.tpl": "smarty", "*.master": "smarty" }
this helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants