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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 BUG: Autocompletion for imports not working for new subdirectories (like "components/ui") #760

Closed
sammwashere opened this issue Jan 21, 2024 · 1 comment
Labels
needs triage Issue needs to be triaged

Comments

@sammwashere
Copy link

Describe the Bug

When I create a new subdirectory in components directory (or in layouts directory, both dont work), I can't get autocompletion for the component (both in the HTML and in the import statement).

Steps to Reproduce

  1. bun create astro@latest
  2. use strict typescript
  3. create "newdir" directory inside "components" directory
  4. create a new component inside this directory (like "ComponentName.astro")
  5. Error: I get no autocompletion for this new component in already existing components
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Jan 21, 2024
@Princesseuh
Copy link
Member

Duplicate of #685

@Princesseuh Princesseuh marked this as a duplicate of #685 Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants