/vscode-core

A Visual Studio Code extension that adds support for the Core Games Lua API to the Lua Language Server.

Primary LanguageLuaMIT LicenseMIT

Core Lua API for VS Code

A Visual Studio Code extension that adds support for the Core Games Lua API to the Lua Language Server.

Open in VSCode Build Status Marketplace Version

Logo

As of version 1.0.0, this extension uses Sumneko's Lua Language Server with auto-generated EmmyLua annotations. The file in this repo is actually generated by using the manticore branch of this fork.

The extension itself does not come with any options. If you want to alter its behavior you have to change it in the Lua Language Server extension that gets installed automatically.

If you have previously been using vscode-core together with the Lua Coder Assist extension, make sure to uninstall that for the best results.

Sumneko's Lua extension also comes with it's own "Diagnostics" feature, so if you have been using other extensions that use Luacheck and a .luacheckrc file, you might want to either disable those extensions or the "Diagnostics" feature in Sumneko's.

Known Issues

  • There is currently no support for Core API operators.

Installation

  • Go to the Visual Studio Code Marketplace and click the "Install" button, that's it!

Related Repositories

Contributing

This project welcomes contributions and suggestions.

Releases

The CI is generating a new release for every tag on this repository and pushes it to the VSC marketplace.

To generate a new release you:

  • Increase the version in package.json according to SemVer.
  • Run npm install && npm run build
  • Commit the changes with the new version number as the commit note.
  • Create a tag but don't push it yet with the same name as the version number.
  • Run npm run changelog, amend the changes to the last commit, remove the tag on the old commit, add the same tag on the new amended one.
  • Push the commit with tag.

Community Contributors

  • @agincel
  • @SargntSprinkles

License

Licensed under the MIT license.