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

Add Elixir Phoenix 1.6 .html.heex templates support #407

Closed
malloryerik opened this issue Sep 16, 2021 · 3 comments
Closed

Add Elixir Phoenix 1.6 .html.heex templates support #407

malloryerik opened this issue Sep 16, 2021 · 3 comments

Comments

@malloryerik
Copy link

malloryerik commented Sep 16, 2021

Hi, the newest version of Phoenix uses a new template called .html.heex.

What can I do to add this to the extension (which is great, btw)?
Is it just a matter of adding a line to packages/tailwindcss-intellisense/src/lib/languages.ts?

Thanks.

@bradlc
Copy link
Contributor

bradlc commented Sep 17, 2021

Hey @malloryerik. Yes exactly, we just need to know the "language ID" for that file type. You can typically find this by looking at the Feature Contributions panel of the extension that provides the language support. I cannot find an extension that adds support for .html.heex files though. Here's what vscode-elixir contributes:

image

Are you aware of an extension that provides support for .html.heex files?

@malloryerik
Copy link
Author

Oh I see, thanks very much.

I believe the language id is phoenix-heex.

The Elixir and Phoenix core teams have a new extension, Phoenix Framework

Screen Shot 2021-09-18 at 11 34 07 AM

Btw the most popular (and useful) Elixir / Phoenix plugin is ElixirLS. They've also added phoenix-heex.

bradlc added a commit that referenced this issue Sep 24, 2021
@bradlc
Copy link
Contributor

bradlc commented Sep 29, 2021

Thanks! phoenix-heex has been added in v0.6.15 👍

@bradlc bradlc closed this as completed Sep 29, 2021
joshprice added a commit to joshprice/tailwindcss-intellisense that referenced this issue Aug 27, 2022
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

2 participants