🐛 BUG: losing intellisense on typescript imports inside .astro files until editor reload #958
Labels
needs investigation
The cause of the issue is unknown and a deeper investigation is needed to fix it
Describe the Bug
MacOS
VS Code extension: 2.14.2
Npm: 10.8.3
Node: 22.9.0
VS Code: 1.93.1
Intelisense in frontmatter imports doesn't seem to be working as expected when dealing with new typescript files. Sometimes I can get it to work for the first instance of a file, but then it fails to import any other files. Either way, reloading the editor after creating any new files fixes the issue.
Steps to Reproduce
npm create astro@latest
(4.15.9 as of today)anything.ts
with the contentsexport const anything = "anything";
another.ts
with the contentsexport const another = "another";
index.astro
and try to import the exported const.import anyt...
I would expect the import to be listed at the top of the autocomplete list, however it does not appear there.Link to Minimal Reproducible Example
https://github.com/lee-arnold/astro-issue-example
The text was updated successfully, but these errors were encountered: