Open RavenSp opened 1 year ago
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.
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.
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 :-)
+1. I also don't get the auto completions when the file type is django-html
.
Something like this would be nice:
Hello! Thanks for the great extension! Can you please tell me how can I add the django-html file association?