Skip to content

Emmet Support Requires Word Pattern #21

Description

@timknight

VS Code's Emmet support uses the word pattern settings for a language and when no word pattern is set it falls back to a alpha only word pattern, so numbers are picked up.

So if you have Emmet enabled for lang-cfml and use an emmet selector like .row>.col-md-5 the -5 will cause Emmet to fail. You can see details as to what's happening at microsoft/vscode#32438 (comment) and you can see how I fixed it for Twig at https://github.com/whatwedo/vscode-twig/pull/14/commits/f14f6f668600933ec49e3daa66da449c695dc5f4. I would have posted a Pull Request, but didn't necessarily want to take a different route by adding a .js setup file you might not want when supposedly you can add this word pattern within the cfscript.configuration.json as well.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions