Skip to content

Emmet code expansion for html.eex files while still supporting eex as elixir file #148

@titusdecali

Description

@titusdecali

I've added the following to my user settings:

    "emmet.syntaxProfiles": { 
        "HTML (Eex)": "html",
    },
    "emmet.includeLanguages": {
        "HTML (Eex)": "html",
    },

However, emmet code expansion for html will only work in .eex files if I change the following from:

    "files.associations": {
        "*.eex": "elixir"
    }

to

    "files.associations": {
        "*.eex": "html"
    }

Is there a way to make vscode see the file as an elixir file, but also enable code expansion with emmet?

I have this extension installed to add elixir code support:
mjmcloug.vscode-elixir

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