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.
- โ๏ธ Supports
Lua 5.4
,Lua 5.3
,Lua 5.2
,Lua 5.1
, andLuaJIT
- ๐ 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
- ๐ Documentation Generation
The language server can be installed for use in Visual Studio Code, NeoVim, and any other clients that support the Language Server Protocol. The language server can be configured using a configuration file. For a more detailed intro, check out the getting started page in the wiki.
The language server and Visual Studio Code client can be installed from the VS Code Marketplace.
View the installation instructions for NeoVim in the nvim-lspconfig repo.
For a guide to getting started from scratch using Mason, read Heiker's guide.
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 with other clients that follow the language server protocol.
The install methods below are maintained by community members.
If you find any mistakes, please report it or open a pull request if you have a fix of your own โค๏ธ
ๅฆๆไฝ ๅ็ฐไบไปปไฝ้่ฏฏ๏ผ่ฏทๅ่ฏๆๆไฝฟ็จPull Requestsๆฅ็ดๆฅไฟฎๅคใโค๏ธ
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!
The language server had opt-in telemetry that collected usage data and sent it to the development team to help improve the extension. Read our privacy policy to learn more. Telemetry was removed in v3.6.5
and is no longer part of the language server.
Software that the language server (or the development of it) uses: