vercel / styled-jsx

Full CSS support for JSX without compromises
http://npmjs.com/styled-jsx
MIT License
7.65k stars 265 forks source link

vscode-styled-jsx-languageserver error when use next 9 #567

Open straxico opened 4 years ago

straxico commented 4 years ago

Capture

hi i start working with styled-jsx for setup autocompelet css in vscode other people suggest me to use vscode-styled-jsx-languageserver. but it dosent work and last update for one year ago.

how i can use css-in-js autocomplet in vscode with style-jsx

giuseppeg commented 4 years ago

does this happen only when you use :global?

straxico commented 4 years ago

i dont sure... i deactive this extension

aneuhold commented 4 years ago

I was getting the same thing but while using the identifier :root. For some reason disabling the extension then re-enabling it got rid of it, but then a lot of errors are still being posted:

Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia
  Code: -32603 
cr4zyc4t commented 4 years ago

I think it's problem with new version of VSCode instead of Next9