Astro v4.11.1
Node v20.4.0
System Linux (x64)
Package Manager npm
Output server
Adapter @astrojs/cloudflare
Integrations @astrojs/svelte
astro-global
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I have a web component in index.astro file. When in VSCode i click any of "Go to Definition/Implementations/References" on a function inside this component, it opens new empty file "index.astro.0.mts".
It happens both for functions in constructor and for methods.
What's the expected result?
VSCode should go to function inside of web component.
Link to Minimal Reproducible Example
not applicable
Participation
[ ] I am willing to submit a pull request for this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I have a web component in
index.astro
file. When in VSCode i click any of "Go to Definition/Implementations/References" on a function inside this component, it opens new empty file "index.astro.0.mts". It happens both for functions inconstructor
and for methods.What's the expected result?
VSCode should go to function inside of web component.
Link to Minimal Reproducible Example
not applicable
Participation