Skip to content

emmet: add erb and html.erb language mappings for Emmet support#309172

Open
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
yogeshwaran-c:fix/emmet-erb-language-mapping
Open

emmet: add erb and html.erb language mappings for Emmet support#309172
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
yogeshwaran-c:fix/emmet-erb-language-mapping

Conversation

@yogeshwaran-c
Copy link
Copy Markdown
Contributor

Adds erb and html.erb language IDs to the built-in Emmet language mappings so that ERB (Embedded Ruby) template files receive proper HTML Emmet expansion support without requiring manual configuration of emmet.includeLanguages.

This follows the same pattern as the existing handlebars and php mappings. Users with a Ruby extension that assigns the erb or html.erb language ID to .erb files can now use Emmet abbreviations (e.g., .container, div.wrapper) without having to manually set the emmet.includeLanguages setting.

Fixes #233969

Add `erb` and `html.erb` language IDs to the built-in Emmet language
mappings so that ERB (Embedded Ruby) template files receive proper
HTML Emmet expansion support without requiring manual configuration
of `emmet.includeLanguages`.

This follows the same pattern as the existing `handlebars` and `php`
mappings. Users with a Ruby extension that assigns the `erb` or
`html.erb` language ID to `.erb` files can now use Emmet abbreviations
(e.g. `.container`, `div.wrapper`) without manually configuring the
setting.

Fixes microsoft#233969
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

Successfully merging this pull request may close these issues.

Emmet class expansions retain period in .erb files

2 participants