Astro language server, highlighting, autocomplete

I’m working on an Astro project and I’m trying to get autocomplete, highlighting, etc, working for .astro files. I added ‘astro-ls’ to my .replit and looking at ‘ps’ it looks like it loads correctly when opening an .astro file. But, only change I see in IDE is now a ‘Format’ option appears on the .astro files editor tab. Autocomplete, highlighting, etc, all aren’t working. How do I enable this?

1 Like

I don’t think there’s a way to toggle syntax highlighting and autocomplete for some languages

I will make this a feature request, since there probably isn’t any syntax highlighting for Astro anyways.

2 Likes

Thank for the quick reponse.

Ohh, I see, the replit IDE needs to be enhanced to take advantage of the language server to offer autocomplete, highlighting, etc?

I thought once a tool had lsp support it would work with pretty much any lsp.

Gotcha, thanks for the info and the help.

2 Likes

How does the process for feature requests work? I heard something about a bounty system, can I use that to offer bounty for astro support?

no because AFAIK it’s not possible for a Repler to add astro support…

2 Likes

Maybe your lsp server doesn’t support autocomplete.

1 Like

Seems to support it.

Sounds like replit IDE might need to get enhancements to take advantage of the lsp

1 Like

Bummer, thanks, was hopeful.

1 Like