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 PHP file support #3

Open
sanchawebo opened this issue Jul 21, 2023 · 1 comment
Open

Add PHP file support #3

sanchawebo opened this issue Jul 21, 2023 · 1 comment

Comments

@sanchawebo
Copy link

Like the other issues. This extension sounds awesome but does not work with .php files.

@aatxxe
Copy link

aatxxe commented Nov 15, 2023

I was digging into this to see if it's possible and what I've found is:

  • A specific language's autocompletion is always used
  • This extension is using the Custom Data Extension Contributes, which only supports .html and .css file extensions

This means that in order to have htmx tags available, the specific language being used for autocompletion would have to include htmx tag in their own extension.

An example of this is issue: support jsx where the suggestion was to use another package with built in htmx support for jsx (which is a .js or .jsx extension).

Similar Issues:

Add .pug files
add .astro files support

The scope of this extension only applies to autocompletion for .html files.

https://code.visualstudio.com/api/extension-guides/custom-data-extension

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

2 participants