Skip to content

TypeScriptToLua/typescript-tstl-plugin

Repository files navigation

TypeScript TypeScriptToLua Language Service plugin

TypeScript Language Service plugin for TypeScriptToLua.

Installation

The simplest way to use this plugin in Visual Studio Code is to install the extension.

For other editors that use TypeScript Language Service you can enable this plugin manually:

npm install typescript-tstl-plugin

tsconfig.json:

{
  "compilerOptions": {
    "plugins": [{ "name": "typescript-tstl-plugin" }]
  },
  "tstl": {
    // "tstl" key is required
  }
}

Features

Currently the only feature this plugin implements is displaying TypeScriptToLua diagnostics: