[Bug] Accepting autocomplete is problematic in daily use
Closed this issue · 1 comments
Take a look on the video what I am struggling on a daily basis with this extension:
Screen.Recording.2023-02-11.at.11.53.01.mov
Two main problems here to observe:
- Typing
var(
wrongly producesvar()()
- Selecting a color from the autocomplete list prefixes it with 1 (sometimes 2) additional dashes.
Additionally (not on the video) if you started typing full color name with dashes (without var
) and then selected something from the list then you will end with something like this: -var(--colorAccent)
which is not correct as well.
I am using your plugin in JSX / TSX code only.
@yhnavein I understand your frustration but your first problem is coming from vscode-styled-components itself.
styled-components/vscode-styled-components#379
For second problem, I suspect it also coming from vscode-styled-components extension, as the extension still working fine on svelte, astro, vue, and css files
You can verify it by uninstall this extension and try again.