Suggestions not working in #each
statement after inserting a dot
#1990
Labels
bug
Something isn't working
limitation
Constraints of the existing architecture make this hard to fix
Describe the bug
When using a
#each
statement and accessing an object's properties, the suggestions will stop working after inserting a dot. See the video below for a better explanation :vscode-svelte-each-bug-2023-04-19_19.14.38.mp4
Intellisense is not working as expected after inserting a dot. But if I delete a letter or use CTRL + Space, I get my suggestion
testArray
as expected. I tested this in multiple scenarios and on a clean editor and it does it too.What seems weird to me is that this only happens with
#each
statements,#if
,#key
and so on are fine. This is more of an annoyance than anything, I am just very used to having my suggestions after inserting a dot.Reproduction
Using the following code :
After inserting a dot, VSCode will not suggest
testArray
.Expected behaviour
I would expect to get the usually suggested properties of my object.
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: