Skip to content

Commit 7857450

Browse files
committed
fix: enhance autocompletion
1 parent 6139fc3 commit 7857450

File tree

5 files changed

+295
-289
lines changed

5 files changed

+295
-289
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@
3131

3232
## Features
3333

34-
Provides editor support for ```tw`...```` tagged template syntax including:
34+
Provides editor support for `tw` tagged template syntax including:
3535

36-
- Autocomplete for [twind](https://github.com/tw-in-js/twind) classes
36+
- Autocomplete for [twind](https://github.com/tw-in-js/twind) variants and classes
37+
- Details about the generated CSS
38+
- Support for grouping of variants and classes
3739
- Warnings on unknown classes
3840
- Warnings on unknown theme values
3941
- Warnings on unknown variants
@@ -48,7 +50,7 @@ npm install --save-dev typescript @twind/typescript-plugin
4850

4951
This plugin requires TypeScript 4.1 or later. It can provide intellisense in both JavaScript and TypeScript files within any editor that uses TypeScript to power their language features. This includes [VS Code](https://code.visualstudio.com), [Sublime with the TypeScript plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin), [Atom with the TypeScript plugin](https://atom.io/packages/atom-typescript), [Visual Studio](https://www.visualstudio.com), and others.
5052

51-
If you have a custom twind configuration you need to extract that into an own file. Create a `twind.config.{ts,js,cjs,mjs}` in the root , `src` or `public` folder. Then import it for use with setup. Here is example using a custom plugin:
53+
If you have a custom twind configuration you need to extract that into an own file. Create a `twind.config.{ts,js,cjs,mjs}` in the root , `src`, `config`, or `public` folder. Then import it for use with setup. Here is example using a custom plugin:
5254

5355
```js
5456
import { forms, formInput } from '@twind/forms'

0 commit comments

Comments
 (0)