styled-components / vscode-styled-components

Syntax highlighting for styled-components
MIT License
917 stars 117 forks source link

Autocompletion does not work when using yarn sdk typescript package in projecty #426

Open terragady opened 1 year ago

terragady commented 1 year ago

Describe the bug (including copyable syntax) When using sdk typescript from yarn sdks the autocompletion does not work and when I switch to VScodes version it works. I need to use workspace typescript version as our packages are cached locally and with vscodes version vscode is complaining about packages: image Is it fixeable or I need to live with it?

Screenshot
image image

Expected behavior
autocompletion works

Build environment (please complete the following information):

pkolt commented 1 year ago

It hasn't worked for me for a couple of weeks either (MacOS, VSCode 1.78.2).

jasonwilliams commented 1 year ago

You will need to provide some test case instructions on how someone can reproduce this. A basic repo with minimal steps is usually the fastest way to get this looked at.

Or you can have a good at looking into this yourself if you have time: https://github.com/styled-components/vscode-styled-components/blob/main/CONTRIBUTING.md

SohelIslamImran commented 1 year ago

same

yunwoo-yu commented 9 months ago

note Please see this issue I had the same issue and it was resolved by removing the pnp.cjs file which was in my macbook home directory and not my working directory. 👍