-
-
Notifications
You must be signed in to change notification settings - Fork 351
/
Copy pathREADME.md
101 lines (74 loc) · 5.13 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# lua-language-server




***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 nearly a million installs in Visual Studio Code, it is the most popular extension for Lua language support.
[See our website for more info](https://luals.github.io).
## Features
- ⚙️ Supports `Lua 5.4`, `Lua 5.3`, `Lua 5.2`, `Lua 5.1`, and `LuaJIT`
- 📄 Over 20 supported [annotations](https://luals.github.io/wiki/annotations/) for documenting your code
- ↪ Go to definition
- 🦺 Dynamic [type checking](https://luals.github.io/wiki/type-checking/)
- 🔍 Find references
- ⚠️ [Diagnostics/Warnings](https://luals.github.io/wiki/diagnostics/)
- 🕵️ [Syntax checking](https://luals.github.io/wiki/syntax-errors/)
- 📝 Element renaming
- 🗨️ Hover to view details on variables, functions, and more
- 🖊️ Autocompletion
- 📚 Support for [libraries](https://luals.github.io/wiki/settings/#workspacelibrary)
- 💅 [Code formatting](https://luals.github.io/wiki/formatter/)
- 💬 [Spell checking](https://luals.github.io/wiki/diagnostics/#spell-check)
- 🛠️ Custom [plugins](https://luals.github.io/wiki/plugins/)
- 📖 [Documentation Generation](https://luals.github.io/wiki/export-docs/)
## Install
The language server can be installed for use in Visual Studio Code, NeoVim, and any [other clients](https://microsoft.github.io/language-server-protocol/implementors/tools/) that support the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/).
See [installation instructions on our website](https://luals.github.io/#install).
[](https://luals.github.io/#vscode-install)
[](https://luals.github.io/#neovim-install)
[](https://luals.github.io/#other-install)
### Community Install Methods
The install methods below are maintained by community members.
[asdf plugin](https://github.com./bellini666/asdf-lua-language-server)
## Links
- [Changelog](https://github.com./LuaLS/lua-language-server/blob/master/changelog.md)
- [Wiki](https://luals.github.io/wiki)
- [FAQ](https://luals.github.io/wiki/faq)
- [Report an issue][issues]
- [Suggest a feature][issues]
- [Discuss](https://github.com./LuaLS/lua-language-server/discussions)
> If you find any mistakes, please [report it][issues] or open a [pull request][pulls] if you have a fix of your own ❤️
>
> 如果你发现了任何错误,请[告诉我][issues]或使用[Pull Requests][pulls]来直接修复。❤️
[issues]: https://github.com./LuaLS/lua-language-server/issues
[pulls]: https://github.com./LuaLS/lua-language-server/pulls
## 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](https://github.com./LuaLS/lua-language-server/issues).
Are you able to [provide a translation](https://luals.github.io/wiki/translations)? It would be greatly appreciated!
Thank you to [all contributors of translations](https://github.com./LuaLS/lua-language-server/commits/master/locale)!
## Privacy
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](https://luals.github.io/privacy#language-server) to learn more. Telemetry was removed in `v3.6.5` and is no longer part of the language server.
## Contributors

## Credit
Software that the language server (or the development of it) uses:
* [bee.lua](https://github.com./actboy168/bee.lua)
* [luamake](https://github.com./actboy168/luamake)
* [LPegLabel](https://github.com./sqmedeiros/lpeglabel)
* [LuaParser](https://github.com./LuaLS/LuaParser)
* [ScreenToGif](https://github.com./NickeManarin/ScreenToGif)
* [vscode-languageclient](https://github.com./microsoft/vscode-languageserver-node)
* [lua.tmbundle](https://github.com./textmate/lua.tmbundle)
* [EmmyLua](https://emmylua.github.io)
* [lua-glob](https://github.com./LuaLS/lua-glob)
* [utility](https://github.com./LuaLS/utility)
* [vscode-lua-doc](https://github.com./actboy168/vscode-lua-doc)
* [json.lua](https://github.com./actboy168/json.lua)
* [EmmyLuaCodeStyle](https://github.com./CppCXY/EmmyLuaCodeStyle)
* [inspect.lua](https://github.com./kikito/inspect.lua)