Skip to content

seven332/vscode-sksl

Repository files navigation

SkSL Language Server

workflow

Code IntelliSense for Skia's shading language.

Usage

Install the extension.

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, blender, meshfrag or meshvert.

Features

  • Diagnostic
  • Document Symbol
  • Document Formatting (may NOT work as expected)
  • Semantic Token
  • Hover
  • Definition