Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TestLuaLSPNew to Visual Studio Code? Get it now.
TestLuaLSP

TestLuaLSP

testboy3286

|
101 installs
| (0) | Free
| Sponsor
Lua Language Server coded by Lua
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

lua-language-server

build version installs downloads Average time to resolve an issue

Lua development just got a whole lot better 🧠

The Lua language server provides various language features for Lua to make development easier and faster. With around half a million installs on Visual Studio Code, it is the most popular extension for Lua language support.

Features

  • 📄 Over 20 supported annotations for documenting your code
  • ↪ Go to definition
  • 🦺 Dynamic type checking
  • 🔍 Find references
  • ⚠️ Diagnostics/Warnings
  • 🕵️ Syntax checking
  • 📝 Element renaming
  • 🗨️ Hover to view details on variables, functions, and more
  • 🖊️ Autocompletion
  • 📚 Support for libraries
  • 💅 Code formatting
  • 💬 Spell checking
  • 🛠️ Custom plugins

Install

The language server can easily be installed for use in VS Code, but it can also be used by other clients using the command line.

Visual Studio Code

Install in VS Code

The language server and Visual Studio Code client can be installed from the VS Code Marketplace.

Command Line

Install for command line

Check the wiki for a guide to install the language server for use on the command line. This allows the language server to be used for NeoVim and other clients that follow the language server protocol.

Supported Lua Versions

Version Supported
Lua 5.1
Lua 5.2
Lua 5.3
Lua 5.4
LuaJIT

Links

  • Changelog
  • Wiki
  • FAQ
  • Report an issue
  • Suggest a feature
  • Discuss

If you find any mistakes, please report it or open a pull request if you have a fix of your own ❤️

如果你发现了任何错误,请告诉我或使用Pull Requests来直接修复。❤️

Available Languages

  • en-us 🇺🇸
  • zh-cn 🇨🇳
  • zh-tw 🇹🇼
  • pt-br 🇧🇷

ℹ Note: All translations are provided and collaborated on by the community. If you find an inappropriate or harmful translation, please report it immediately.

Are you able to provide a translation? It would be greatly appreciated!

Thank you to all contributors of translations!

Configuration

Configuration of the server can be done in a number of ways, which are explained more in-depth in the wiki.

Visual Studio Code

You can use the settings editor or edit the raw JSON file.

Other

See the configuration file wiki page.

Privacy

This language server has opt-in telemetry that collects usage data and sends it to the development team to help improve the extension. Read our privacy policy to learn more.

Contributors

GitHub Contributors Image

Credit

Software that the language server (or the development of it) uses:

  • bee.lua
  • luamake
  • LPegLabel
  • LuaParser
  • ScreenToGif
  • vscode-languageclient
  • lua.tmbundle
  • EmmyLua
  • lua-glob
  • utility
  • vscode-lua-doc
  • json.lua
  • EmmyLuaCodeStyle
  • inspect.lua
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft