GameMaster Greatee
GameMaster Greatee

Reputation: 25

How to make vscode's emmet allow expanding all custom tags

Previously when typing something in vscode like :-

asd[TAB] dada[TAB] sasa[TAB]

would expand into

<asd></asd> <dada></dada> <sasa></sasa>

but currently with the implementation of Emmet 2.0 this has changed. Now it allows expanding html related tags only like ul, li, div, span, etc.

Please tell me if there's a way to obtain the functionality that I need.

Upvotes: 1

Views: 673

Answers (1)

Mark
Mark

Reputation: 180641

You probably have

// When enabled, Emmet abbreviations are expanded when pressing TAB.

"emmet.triggerExpansionOnTab": false,

in your settings. That is the default, change it to true and it works for me for whatever tags I create.

Upvotes: 1

Related Questions