Skip to content

Commit b8eda02

Browse files
committed
update changelog and readme
1 parent 0af5476 commit b8eda02

File tree

2 files changed

+73
-4
lines changed

2 files changed

+73
-4
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
# Changelog
22

3+
## 0.3.0
4+
5+
### General
6+
7+
- Added support for string values in Tailwind's `important` option (#96)
8+
- Removed all unnecessary logs (#91)
9+
- Added support for components in addition to utilities (#67)
10+
- Added description to custom variant completion items where possible
11+
- Config parsing errors are now displayed in the VS Code UI
12+
- Class names from `@tailwind base` are now included (by default `@tailwind base` does not include any class names but plugins may contribute them)
13+
- Color swatches can now be displayed for rules with multiple properties and/or colors with variable alpha (#113)
14+
- Added `tailwindCSS.includeLanguages` setting:
15+
```json
16+
{
17+
"tailwindCSS.includeLanguages": {
18+
"plaintext": "html"
19+
}
20+
}
21+
```
22+
This setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions built-in languages, depending on how you want the new language to be treated (e.g. `html`, `css`, or `javascript`)
23+
24+
### HTML
25+
26+
- Added built-in support for `liquid`, `aspnetcorerazor`, `mustache`, `HTML (EEx)`, `html-eex`, `gohtml`, `GoHTML`, and `hbs` languages
27+
- Added syntax definition to embedded stylesheets in HTML files
28+
29+
### CSS
30+
31+
- Added built-in support for `sugarss` language
32+
- Added `theme` (and `config`) helper hovers
33+
- Added `@apply` class name hovers
34+
- Added directive completion items with links to documentation
35+
- Added `@tailwind` completion items (`preflight`/`base`, `utilities`, `components`, `screens`) with links to documentation
36+
- Helper completion items that contain the `.` character will now insert square brackets when selected
37+
- `@apply` completion list now excludes class names that are not compatible
38+
- Added CSS syntax highlighting in `.vue` files (#15)
39+
40+
### JS(X)
41+
42+
- Completions now trigger when using backticks (#50, #93):
43+
```js
44+
const App = () => <div className={`_
45+
```
46+
347
## 0.2.0
448

549
- Support for Tailwind v1 via LSP 🎉

README.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ It also includes features that improve the overall Tailwind experience, includin
2121

2222
### CSS
2323

24-
- [Suggestions when using `@apply` and `config()`](#suggestions-when-using-apply-and-config)
24+
- [Suggestions when using `@apply` and config helpers](#suggestions-when-using-apply-and-config)
2525
- Suggestions when using the `@screen` directive
26-
- [Improves syntax highlighting when using `@apply` and `config()`](#improves-syntax-highlighting-when-using-apply-and-config)
26+
- Suggestions when using the `@variants` directive
27+
- [Improves syntax highlighting when using `@apply` and config helpers](#improves-syntax-highlighting-when-using-apply-and-config-helpers)
2728

2829
## Examples
2930

@@ -35,11 +36,11 @@ It also includes features that improve the overall Tailwind experience, includin
3536

3637
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/html-hover.gif" alt="HTML hover preview" width="750">
3738

38-
#### Suggestions when using `@apply` and `config()`
39+
#### Suggestions when using `@apply` and config helpers
3940

4041
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/css.gif" alt="CSS autocompletion" width="750">
4142

42-
#### Improves syntax highlighting when using `@apply` and `config()`
43+
#### Improves syntax highlighting when using `@apply` and config helpers
4344

4445
Before:
4546

@@ -48,3 +49,27 @@ Before:
4849
After:
4950

5051
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/img/css-highlighting-after.png" alt="CSS syntax highlighting after" width="400">
52+
53+
## Settings
54+
55+
### `tailwindCSS.includeLanguages`
56+
57+
This setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions built-in languages, depending on how you want the new language to be treated (e.g. `html`, `css`, or `javascript`):
58+
59+
```json
60+
{
61+
"tailwindCSS.includeLanguages": {
62+
"plaintext": "html"
63+
}
64+
}
65+
```
66+
67+
### `tailwindcss.emmetCompletions`
68+
69+
Enable completions when using [Emmet](https://emmet.io/)-style syntax, for example `div.bg-red-500.uppercase`. Default: `false`
70+
71+
```json
72+
{
73+
"tailwindCSS.emmetCompletions": true
74+
}
75+
```

0 commit comments

Comments
 (0)