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
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
@mjbvz do you have any idea where to look for debugging the below? I've been trawling through the typescript-styled-plugin code and don't see anything obvious. Do you have any tips on how to fix this?
It looks like it doesn't replace what's already there and only inserts instead. The issue though is we haven't changed anything in this plugin apart from maybe updated CSS lang server dependency.
Describe the bug (including copyable syntax)
I see this as a one solid issue, symptoms of which are being solved in other issues. This is a continuation of this styled-components/vscode-styled-components#219.
Namely, the Intellisense in styled-components code won't account for previously typed text when making suggestions and completions. I will describe it in several examples below.
Start creating some pseudo styling like after, selection, etc.
After hitting ENTER you will get this
If you start typing some css, Intellisense box would pop-up, close it and continue typing again. Say, it was flex- before. After applying the suggested option, say, flow, you will get flex-flex-flow (so the previously typed text is not accounted).
This is happening to me since early versions (below 1.0) of the extension.
Expected behavior
The behavior should be identical with regular css files.
Build environment (please complete the following information):
OS: ubuntu 18.04 or windows 10, both using the same versions of vscode and extension.
Raised from: styled-components/vscode-styled-components#325
@mjbvz do you have any idea where to look for debugging the below? I've been trawling through the typescript-styled-plugin code and don't see anything obvious. Do you have any tips on how to fix this?
It looks like it doesn't replace what's already there and only inserts instead. The issue though is we haven't changed anything in this plugin apart from maybe updated CSS lang server dependency.
Describe the bug (including copyable syntax)
I see this as a one solid issue, symptoms of which are being solved in other issues. This is a continuation of this styled-components/vscode-styled-components#219.
Namely, the Intellisense in styled-components code won't account for previously typed text when making suggestions and completions. I will describe it in several examples below.
Start creating some pseudo styling like


after
,selection
, etc.After hitting
ENTER
you will get thisIf you start typing some css, Intellisense box would pop-up, close it and continue typing again. Say, it was
flex-
before. After applying the suggested option, say,flow
, you will getflex-flex-flow
(so the previously typed text is not accounted).This is happening to me since early versions (below 1.0) of the extension.
Expected behavior
The behavior should be identical with regular
css
files.Build environment (please complete the following information):
The text was updated successfully, but these errors were encountered: