New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Complete Fails with TypeScript 5.0.0 #387
Comments
@ricardroberg was that link supposed to go somewhere? Do you have any errors? Like do you run the typescript server with “trace” enabled |
@jasonwilliams Sorry...never done that. Its began like 7 to 10 days ago. Just found 2hours ago which plugin was in conflict. |
microsoft/vscode-typescript-next#61 (comment) Guess he linked it to wrong url. |
Yes @booooora . Thank you a lot. |
Ok thanks for raising this. Microsoft no longer maintain that repo so we will need to fork it and update it. Also related to: microsoft/typescript-styled-plugin#149 |
This issue is being looked at in microsoft/TypeScript#51713 |
It seems that @mjbvz has already fixed this in typescript-template-language-service-decorator months ago but never released the new version. Just validated that fix in |
Ok I understand we have a lot of users with the issue of auto complete failing due to the TypeScript update. I've pulled the latest commit from https://github.com/microsoft/typescript-template-language-service-decorator and tested it and I can see auto complete works. I have also raised this with the team. You will either need to roll back your typescript version, or get onto the people upstream to make a release. |
This was happening to me after I updated VS code. The easiest fix is to add this to VS code local settings. "typescript.tsdk": "node_modules/typescript/lib" |
I have done a pre-release for 1.7.7 If enough people find it works ill push it out as a normal release. |
I updated the plugin to the pre-release version (1.7.7) and it worked again. I will continue testing. |
all good, thanks! |
Pre-release 1.7.7 working with JavaScript and TypeScript Nightly v5.1.20230403 |
Pre-release version works. Thanks! |
Yep, pre-release version fixes the issue! |
Ok thanks for the confirmations v1.7.8 has now been published as a normal release so that will be rolling out now. |
I highly appreciate the work you've done, but the intellisense does not work with <5 versions of typescript after upgrading to v1.7.8. So I had to rollback. Can I somehow help to troubleshoot this one? |
Hi @paprikman I don’t have any advice to offer other than rollback the version to 1.7.5 or update your typescript to 5.0.0 |
This is sad news. I think it makes sense to add that to the README then. Not everyone has options to change TS version in their projects at will. |
I can agree, it cannot rely on TS version 5 |
https://github.com/styled-components/vscode-styled-components/tree/main#intellisense-is-not-working |
Hello @jasonwilliams Took me awhile to find this issue and discover why my stuff wasn't working... Before I open a PR against the README, I want to ask is 1.7.5 required? The update from this thread was 1.7.8. Is 1.7.6 or 1.7.7 incompatible with TS <v5? edit: Oh there is no 1.7.6 or 1.7.7 |
Styled component stop working with JS and TS NIghtly v5.0.20221113 and above.
styled-component 1.73.1
No intelisense
https://github.com/microsoft/vscode-typescript-next/issues/61
The text was updated successfully, but these errors were encountered: