Skip to content

Visual Studio Code extension for Lua programming with the Leadwerks 5 API

Notifications You must be signed in to change notification settings

Leadwerks/VSCodeExtension

 
 

Repository files navigation

Leadwerks extension README

This is an unofficial Leadwerks extension for Visual Studio code.

Features

  • Lua extension dependency
  • Leadwerks snippets for properties, Script functions and common Lua syntax.
  • Leadwerks API snippets. The entire Leadwerks API has snippets generated for with and without object. For instance: SetPosition() and Entity:SetPosition()

Common snippets

  • prop[type] : Creates Leadwerk editor properties
  • print: Shortcut for System:Print("")
  • lescripts: Inserts all entity script functions (commented)
  • class: Creates a basic class objects with example functions
  • start: Start function of an entity script
  • updateworld: UpdateWorld function of an entity script
  • updatephysics: UpdatesPhysics function of an entity script
  • collision: Collision function of an entity script with all parameters
  • PostRender: PostRender function of an entity script with the context parameter
  • function: Creates a function for either a custom object or for the specific script
  • if
  • for
  • pair
  • ipar

Visual Studio code marketplace

https://marketplace.visualstudio.com/items?itemName=aggror.Leadwerks

Source code on Github

https://github.com/Aggror/VisualStudioCodeLeadwerksExtension

About

Visual Studio Code extension for Lua programming with the Leadwerks 5 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.4%
  • JavaScript 11.6%