Skip to content

Commit

Permalink
build: add usage in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seven332 committed Oct 24, 2023
1 parent effdff0 commit efec868
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,23 @@

Code IntelliSense for [Skia's shading language](https://skia.org/docs/user/sksl/).

## Usage

Install the [extension](https://marketplace.visualstudio.com/items?itemName=seven332.vscode-sksl).

The kind of SkSL must be presented in source code.

```
// kind=shader
half4 main(float2 coord) {
return float4(1, 1, 1, 1);
}
```

It could be `shader`, `colorfilter`, `meshfrag` or `meshvert`.

## Features

- [x] Document Symbol
- [x] Document Formatting (may **NOT** work as expected)
- [x] Semantic Token
- [x] Document Symbol
- [x] Document Formatting (may **NOT** work as expected)
- [x] Semantic Token

0 comments on commit efec868

Please sign in to comment.