tailwind-ctp-intellisense/README.md

51 lines
2.3 KiB
Markdown
Raw Normal View History

2018-08-21 12:44:52 +00:00
# Tailwind CSS IntelliSense
2018-08-21 12:10:52 +00:00
2018-08-28 19:40:20 +00:00
> [Tailwind CSS](https://tailwindcss.com/) class name completion for VS Code
2018-08-21 12:30:26 +00:00
2018-08-21 21:05:37 +00:00
**[Get it from the VS Code Marketplace →](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)**
2018-10-23 11:56:36 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/html.gif" alt="HTML autocompletion" width="750">
2018-08-28 19:40:20 +00:00
## Features
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:09 +00:00
Tailwind CSS IntelliSense uses your projects Tailwind installation and configuration to provide suggestions as you type.
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:09 +00:00
It also includes features that improve the overall Tailwind experience, including improved syntax highlighting, and CSS previews.
### HTML (including Vue, JSX, PHP etc.)
2018-10-23 11:56:36 +00:00
- [Class name suggestions, including support for Emmet syntax](#class-name-suggestions-including-support-for-emmet-syntax)
2018-10-23 11:54:09 +00:00
- Suggestions include color previews where applicable, for example for text and background colors
- They also include a preview of the actual CSS for that class name
2018-10-23 11:56:36 +00:00
- [CSS preview when hovering over class names](#css-preview-when-hovering-over-class-names)
2018-08-28 19:40:20 +00:00
### CSS
2018-10-23 11:56:36 +00:00
- [Suggestions when using `@apply` and `config()`](#suggestions-when-using-apply-and-config)
2018-10-23 11:54:09 +00:00
- Suggestions when using the `@screen` directive
2018-10-23 11:56:36 +00:00
- [Improves syntax highlighting when using `@apply` and `config()`](#improves-syntax-highlighting-when-using-apply-and-config)
2018-08-28 19:40:20 +00:00
2018-10-23 11:54:09 +00:00
## Examples
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:09 +00:00
#### Class name suggestions, including support for Emmet syntax
2018-08-28 19:40:20 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/html.gif" alt="HTML autocompletion" width="750">
2018-10-23 11:54:09 +00:00
#### CSS preview when hovering over class names
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:44 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/html-hover.gif" alt="HTML hover preview" width="750">
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:09 +00:00
#### Suggestions when using `@apply` and `config()`
2018-10-23 11:54:44 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/css.gif" alt="CSS autocompletion" width="750">
2018-10-23 11:54:09 +00:00
#### Improves syntax highlighting when using `@apply` and `config()`
Before:
2018-10-23 11:54:44 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/css-highlighting-before.png" alt="CSS syntax highlighting before" width="400">
2018-10-23 11:54:09 +00:00
After:
2018-08-21 12:30:26 +00:00
2018-10-23 11:54:44 +00:00
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/css-highlighting-after.png" alt="CSS syntax highlighting after" width="400">