You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new .astro file is created under ./src/components, it requires VSCode to be restarted for autocomplete to work.
There had been cases where the first created file worked (after 5-6 saves on the file), but the second or third NEVER works.
Tried it in my computer, and also in a friend's computer with no prior vscode/pnpm/node installation to check if the case is on my side. The issue persists on friend's computer too.
Steps to Reproduce
pnpm create astro@latest and choose basic and minimal template
open .src/pages/index.astro
remove the <Welcome/> component, and start typing <Wel.... Notice how it autocompletes.
create a new file called TestA.astro in ./src/components/. Leave it empty.
go back to .src/pages/index.astro. Try typing <Tes.... Notice how it doesn't autocomplete
open command pallete and Reload Window. Try step #5 again. Notice how it works now.
If #5 works without problems, try creating a file called TestB.astro. I could never make it work for the 2nd file.
Link to Minimal Reproducible Example
non applicable. use the template. reproduction depends on manual file creation.
The text was updated successfully, but these errors were encountered:
Describe the Bug
When a new .astro file is created under ./src/components, it requires VSCode to be restarted for autocomplete to work.
There had been cases where the first created file worked (after 5-6 saves on the file), but the second or third NEVER works.
Tried it in my computer, and also in a friend's computer with no prior vscode/pnpm/node installation to check if the case is on my side. The issue persists on friend's computer too.
Steps to Reproduce
pnpm create astro@latest
and choose basic and minimal template.src/pages/index.astro
<Welcome/>
component, and start typing<Wel...
. Notice how it autocompletes../src/components/
. Leave it empty..src/pages/index.astro
. Try typing<Tes...
. Notice how it doesn't autocompleteReload Window
. Try step#5
again. Notice how it works now.#5
works without problems, try creating a file calledTestB.astro
. I could never make it work for the 2nd file.Link to Minimal Reproducible Example
non applicable. use the template. reproduction depends on manual file creation.
The text was updated successfully, but these errors were encountered: