withastro/language-tools

๐Ÿ› BUG: Autocompletion for imports not working for new subdirectories (like "components/ui")

Closed this issue ยท 1 comments

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

Duplicate of #685