Barrard
Barrard

Reputation: 2043

How to enable CSS intellisense in JSX files in VSCode

I just got a new work computer, and setting up the dev environment, I cannot seem to get my Intellisense to work while in a React.jsx file

I'm using CSS-in-JS with NextJs styled JSX https://github.com/vercel/styled-jsx

enter image description here

I've tried googling a lot and running out of sanity...

Thanks for any help!

Upvotes: 2

Views: 720

Answers (2)

marko424
marko424

Reputation: 5356

In order to get syntax highlighting & autocomplete, you need to install two extensions:

Upvotes: 0

Barrard
Barrard

Reputation: 2043

This extension did the trick styled-jsx Language Server

https://marketplace.visualstudio.com/items?itemName=Divlo.vscode-styled-jsx-languageserver

Upvotes: 0

Related Questions