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 }}
Repository navigation
vscode-styled-components extension's css intellisense is not working after updating to latest version #61
Hi, I'm using JavaScript and TypeScript Nightly with vscode-styled-components extension.
But after updating JavaScript and TypeScript Nightly to latest version, vscode-styled-components extension's css intellisense (suggestion) is not working.
When I uninstall or downgrade JavaScript and TypeScript Nightly to v5.0.20221103, vscode-styled-components css suggestion is working as expected.
JavaScript and TypeScript Nightly v5.0.202211170 -> css suggestion not working
(downgrading to v5.0.20221113 is also not working)
JavaScript and TypeScript Nightly v5.0.20221103 -> css suggestion working
Extension version: v5.0.202211170
VS Code version: Code 1.73.1 (Universal)
OS version: macOS Ventura
vscode-styled-components extension version: v1.7.5
Thank you booooora for raising this detailed issue. I have spent some time on this and it does seem to be on the typescript side.
Please file this against the styled components extension. It likely needs to be updated to support TS 5+
Our extension does use the latest version of typescript (4.9.3) and I have tested it with "next" (5.x) and it still happens so I don't think this is the case.
I have published a pre-relasee version of the extension, so you can try that here but I can see it still doesn't work.
Version 20221103 successfully calls into the language server and receives completions
Version 20221108 fails to call into the language server, so we don't get anything at all.
Matt Bierner (@mjbvz) can we reopen this or do you have any more detail on this issue? Looks like there's a change somewhere which broke the language server.
Activity
ricardroberg commentedon Nov 28, 2022
mjbvz commentedon Nov 28, 2022
Please file this against the styled components extension. It likely needs to be updated to support TS 5+
jasonwilliams commentedon Dec 1, 2022
Thank you booooora for raising this detailed issue. I have spent some time on this and it does seem to be on the typescript side.
Our extension does use the latest version of typescript (4.9.3) and I have tested it with "next" (5.x) and it still happens so I don't think this is the case.
I have published a pre-relasee version of the extension, so you can try that here but I can see it still doesn't work.
I have forked the typescript plugin and published it from here:
https://github.com/styled-components/typescript-styled-plugin
Version 20221103 successfully calls into the language server and receives completions

Version 20221108 fails to call into the language server, so we don't get anything at all.

Matt Bierner (@mjbvz) can we reopen this or do you have any more detail on this issue? Looks like there's a change somewhere which broke the language server.
mjbvz commentedon Dec 1, 2022
Jason Williams (@jasonwilliams) Can you please open an issue against TypeScript for this? They may have some idea of what changed in 5.0