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
<scriptlang="ts">
importtype { FeaturedExpertFields } from'$houdini';
import { fragment, graphql } from'$houdini';
exportlet expert: FeaturedExpertFields;
$: data =fragment(
expert,
graphql(`#graphql fragment FeaturedExpertFields on CoachProfile { id nam # Autocomplete and error reporting not working! }`)
);
</script>
<a on:click={() => {}}>Hello world!</a>
Expected Behavior
<scriptlang="ts">
importtype { FeaturedExpertFields } from'$houdini';
import { fragment, graphql } from'$houdini';
exportlet expert: FeaturedExpertFields;
$: data =fragment(
expert,
graphql(`#graphql fragment FeaturedExpertFields on CoachProfile { id nam # Autocomplete and error reporting here works perfectly! }`)
);
</script>
<a>Hello world!</a>
Steps To Reproduce
As soon as the handler (any kind of handler, not just click) is added, LSP features stop working:
`on:click={() => {}}`
zakkor
changed the title
[lsp-server] 🐞 Svelte LSP stops working when event handler is added in template
[lsp-server] 🐞 Svelte: LSP stops working when event handler is added in template
Jan 17, 2023
Is there an existing issue for this?
Current Behavior
Expected Behavior
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: