GoogleCloudPlatform / cloud-code-vscode

Cloud Code for Visual Studio Code: Issues, Documentation and more
Other
420 stars 112 forks source link

[Feature Request] Astro language support #923

Open jaydanurwin opened 4 months ago

jaydanurwin commented 4 months ago

Feature I would love to get inline code suggestions in .astro files. I would hope the model is already trained on Astro files by now but really it's just HTML, CSS, and JSX inside the same file. If I use the chat interface while focused on an Astro file it appears to understand the context already so it might just be a matter of adding the language in the supported list?

Screenshot 2024-07-25 at 5 45 42 PM
kschaab commented 2 months ago

Hi @jaydanurwin, this list is loaded from the supported languages list in VS Code. If you have an extension that supports this it should show up. We are looking at a way to add custom extensions so that you don't have to have full language support.

jaydanurwin commented 2 months ago

That doesn't seem to be the case or maybe there's a bug with the Astro extension writing to that list? I have the Astro extension installed and it seems to work well for .astro files. I've since moved to Cursor and use Gemini with an API key now but I'm happy to help troubleshoot however I can for those still using this. 👍🏼