GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TypeScriptToLua/vscode-typescript-to-lua: TypeScriptToLua support for Visual Studio Code

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.prettierrc.json
.prettierrc.json
 
 
.vscodeignore
.vscodeignore
 
 
Changelog.md
Changelog.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

A Visual Studio Code extension that adds TypeScriptToLua support for TypeScript using the TypeScript TypeScriptToLua Language Service plugin.

Usage

This extension activates automatically when project's tsconfig.json file has "tstl" key.

Features

TypeScriptToLua Diagnostics

Sometimes, code that would normally be valid in JavaScript/TypeScript would be invalid when transpiling to Lua. The TSTL extension will immediately warn you when this is the case, so that you discover it at writing-time rather than at compile-time. For example:

Automatic tsconfig.json Schema

  • In most popular IDEs, you can specify a "$schema" key at the top of a JSON file. Doing this activates auto-complete and field validation, which makes working with the JSON much easier.
  • One extra feature of VSCode is that if you happen to be working in a tsconfig.json file without an explicitly defined "$schema" key, the editor will automatically use the standard tsconfig schema.
  • If this extension detects a "tstl" key in the "tsconfig.json" file, then it will automatically swap the schema to one that includes the possible values for the "tstl" key. This allows for auto-completing the TSTL properties:

About

TypeScriptToLua support for Visual Studio Code

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

12 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.