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

Work with Astro? #288

Closed
adleviton opened this issue May 10, 2024 · 2 comments
Closed

Work with Astro? #288

adleviton opened this issue May 10, 2024 · 2 comments

Comments

@adleviton
Copy link

Is it possible to make this work with .astro files? Video belows show this working fine with HTML, but has no effect on Astro files. I've added "css.enabledLanguages": ["html", "astro"] to my global settings file.

Screen.Recording.2024-05-10.at.3.43.04.PM.mov
@adleviton
Copy link
Author

Astro team is unable to assist. But here's a better example of what I'm experiencing:

I'm just trying to set things up so whenever I go to add CSS class names to an HTML element, the class names will be suggested.

In an HTML file, it works:
Screenshot 2024-05-13 at 7 01 44 PM

In an Astro file, it does not work:
Screenshot 2024-05-13 at 7 02 27 PM

But in the same Astro file, if I put quotes inside of quotes, it works:
Screenshot 2024-05-13 at 7 03 56 PM

@ecmel
Copy link
Owner

ecmel commented Jan 1, 2025

Works with 2.0.11 (You need to install an extension which registers astro language id)

@ecmel ecmel closed this as completed Jan 1, 2025
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