Skip to content

✨ Feature Request: Add support for Astro files (.astro) #457

@TheElegantCoding

Description

@TheElegantCoding

πŸš€ Description

I am requesting the addition of support for Astro files (.astro) to this extension.

Astro is a modern static site builder that uses a component-based approach (similar to React/Vue/Svelte) but focuses on shipping zero JavaScript by default, making it highly relevant for performance-focused developers.

🎯 Motivation

Adding support for .astro files would significantly enhance the utility and reach of this extension for users working within the Astro ecosystem.

Specifically, full support should ideally include:

  1. Syntax Highlighting: Ensuring proper rendering and distinction of the HTML, CSS (including scoped styles), and frontmatter (JavaScript/TypeScript) sections within the .astro files.
  2. IntelliSense/Code Completion: Providing accurate suggestions and autocompletion within the Astro component structure.
  3. Language Server Protocol (LSP) Features: Supporting features like go-to-definition, hover information, and refactoring, especially for components and props.

The Astro framework is rapidly growing, and integrating it would greatly benefit developers using it, as they currently lack optimal support for this file type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions