natemoo-re / vscode-styled-components

Syntax highlighting for styled-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-styled-components

Syntax highlighting and IntelliSense for styled-components.

Syntax highlighting in action

Uses a CSS grammar built on top of language-sass and language-css.

Install

Inside VSCode, press Ctrl+P, and enter:

ext install vscode-styled-components

It should be the top result.

[Source]

Features

  • Syntax highlighting for styled components in JavaScript and TypeScript.
  • Detailed CSS IntelliSense while working in styled strings.
  • Syntax error reporting.

❗Important: IntelliSense and language support requires VS Code 1.20+.

Usage

The styled-components extension adds highlighting and IntelliSense for styled-component template strings in JavaScript and TypeScript. It works out of the box when you use VS Code's built-in version of TypeScript.

If you are using a workspace version of typescript, you must currently configure the TS Server plugin manually by following these instructions

About

Syntax highlighting for styled-components

License:MIT License


Languages

Language:JavaScript 100.0%