TypeScript Language Service plugin for TypeScriptToLua.
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
}
}
Currently the only feature this plugin implements is displaying TypeScriptToLua diagnostics: