Styled-jsx: vscode-styled-jsx-languageserver error when use next 9

Created on 17 Jul 2019  路  4Comments  路  Source: vercel/styled-jsx

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

Most helpful comment

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 

All 4 comments

does this happen only when you use :global?

i dont sure... i deactive this extension

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 

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

igor-ribeiro picture igor-ribeiro  路  3Comments

maxchehab picture maxchehab  路  3Comments

corysimmons picture corysimmons  路  4Comments

loick picture loick  路  4Comments

ryandeussing picture ryandeussing  路  3Comments