Skip to content
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

intellisense stops working #72294

Closed
WDever opened this issue Apr 14, 2019 · 11 comments
Closed

intellisense stops working #72294

WDever opened this issue Apr 14, 2019 · 11 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@WDever
Copy link

WDever commented Apr 14, 2019

  • VSCode Version: 1.33.1
  • OS Version: macOS Mojave 10.14.4

Steps to Reproduce:

  1. open a react component that is using styled-components.
  2. try to use intellisense or autoComplete with 'Tab' Key.

Does this issue occur when all extensions are disabled?: Yes

I'm using styled-components with tsx. when I open a tsx file that us using styled-components, intellisense or autoComplete doesn't work. But when I open a tsx file that is not using styled-components, it work really good.

@rolandleth
Copy link

I have issues with jsx files too. Latest version is unusable for me, I have to keep falling back on 1.32.

@WDever
Copy link
Author

WDever commented Apr 15, 2019

I have issues with jsx files too. Latest version is unusable for me, I have to keep falling back on 1.32.

I think it can resolve. if your styled-components's version is lower than 4.2.0, you have to upgrade it.

In my case, I upgrade styled-components and it was fixed.

But, my intellisense is slowed down.

@rolandleth
Copy link

That's not it, I have 4.2.0 😞.

@WDever
Copy link
Author

WDever commented Apr 15, 2019

That's not it, I have 4.2.0 😞.

I'm sorry to hear that 😢.

I have no idea with this problem.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 15, 2019

What version of @types/styled-components do you have installed?

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Apr 15, 2019
@WDever
Copy link
Author

WDever commented Apr 15, 2019

What version of @types/styled-components do you have installed?

when I found the problem, it's version is 4.1.12.

But now it is 4.1.14.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 15, 2019

Sounds like DefinitelyTyped/DefinitelyTyped#34391

Are still seeing this issue with the latest typings?

@rolandleth
Copy link

rolandleth commented Apr 15, 2019

I updated typescript to 3.5.0-dev.20190413 and now it appears to be working correctly.

Edit: It is better indeed, but still substantially slower than on 1.32.3 😞.

@WDever
Copy link
Author

WDever commented Apr 15, 2019

Sounds like DefinitelyTyped/DefinitelyTyped#34391

Are still seeing this issue with the latest typings?

No. After I upgrade @types/styled-components, intellisense started to work.

But, It is slower than 1.32.3. It takes long time.

@WDever
Copy link
Author

WDever commented Apr 15, 2019

I updated typescript to 3.5.0-dev.20190413 and now it appears to be working correctly.

Edit: It is better indeed, but still substantially slower than on 1.32.3 😞.

I'm using typescipt 3.4.3.. But you have a problem like me.

@vscodebot vscodebot bot removed the new release label Apr 16, 2019
@WDever
Copy link
Author

WDever commented Apr 21, 2019

I heard that this issue is typescript's issue.

when I'm using typescript 3.3.3333, it solves. THX

@WDever WDever closed this as completed Apr 21, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants