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 file type association #1

Open
RavenSp opened this issue May 13, 2023 · 5 comments
Open

add file type association #1

RavenSp opened this issue May 13, 2023 · 5 comments

Comments

@RavenSp
Copy link

RavenSp commented May 13, 2023

Hello! Thanks for the great extension! Can you please tell me how can I add the django-html file association?

@jonesnc
Copy link

jonesnc commented Aug 24, 2023

I'm also wondering if this would be possible. I use the Django extension, which adds the django-html and django-txt file types. The htmx-tags extension only supports the html file type.

I wonder if we could add these two file types to the contributes object in the package.json file.

@RadekPelikan
Copy link

I don't know how Tailwind CSS IntelliSense does it, but it would be cool to modify it.

{
    "htmxTags.includeLanguages": {
        "plaintext": [
            "astro",
            "html",
            "jsx",
            "tsx"
        ]
    },
}

And also add the ability to select between available strings, for example hx-swap has a bunch of different ways go be swapped. So the developer just would be able to select between innerHTML, outerHTML, afterbegin, beforebegin, beforeend, afterend, delete, none. This also applies to the different functionalities.

@klette
Copy link
Member

klette commented Oct 2, 2023

Hi all! Sorry about the lack of response here. Currently on parental leave so I've taken a bit of a pause from tech work. I'll look into this as soon as I can :-)

@tksrc
Copy link

tksrc commented Oct 10, 2023

+1. I also don't get the auto completions when the file type is django-html.

Something like this would be nice:

https://github.com/tailwindlabs/tailwindcss-intellisense/blob/master/packages/vscode-tailwindcss/package.json#L145

@Jelmerovereem
Copy link

Would love this as well!

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

No branches or pull requests

6 participants