Skip to content

💡 RFC: auto import index.astro when writing folder name #1048

@AceCodePt

Description

@AceCodePt

Background & Motivation

Normally writing a folder name in js or ts would allow to import the component.
It make sense that astro would behave the same (without omitting the index.astro)

Proposed Solution

Possible solutions

There aren't any except fixing the issue

Alternatives considered

Editing the LSP directly or change stuff around the blink.

Risks, downsides, and/or tradeoffs

I don't see any.

Open Questions

Detailed Design

No response

Help make it happen!

  • I am willing to submit a PR to implement this change.
  • I am willing to submit a PR to implement this change, but would need some guidance.
  • I am not willing to submit a PR to implement this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions