Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 781 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 781 Bytes

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: