You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you manage servers manually, replace `cmd` with the full path to your binary.
79
+
56
80
</details>
57
81
58
82
<details>
59
83
<summary><b>IntelliJ IDE</b></summary>
60
84
61
85
Install the [EmmyLua2 Plugin](https://plugins.jetbrains.com/plugin/25076-emmylua2) from the JetBrains Marketplace.
62
86
87
+
For most projects, no extra setup is required beyond opening the workspace. Add `.emmyrc.json` if you need custom workspace roots, library paths, or stricter diagnostics.
88
+
63
89
</details>
64
90
65
91
<details>
66
92
<summary><b>Other editors</b></summary>
67
93
68
-
Any editor with LSP support can use `emmylua_ls` via stdio (default) or TCP.
94
+
Any editor with LSP support can use `emmylua_ls` over stdio, which is the default and recommended mode.
95
+
96
+
Typical client command:
97
+
98
+
```json
99
+
{
100
+
"command": "emmylua_ls",
101
+
"args": []
102
+
}
103
+
```
104
+
105
+
Use TCP only when you explicitly want a remote or debug-friendly setup:
106
+
107
+
```bash
108
+
emmylua_ls -c tcp --ip 127.0.0.1 --port 5007
109
+
```
110
+
111
+
Useful client root markers:
112
+
113
+
-`.emmyrc.json`
114
+
-`.luarc.json`
115
+
-`.emmyrc.lua`
116
+
-`.git`
69
117
70
118
</details>
71
119
@@ -86,7 +134,15 @@ Any editor with LSP support can use `emmylua_ls` via stdio (default) or TCP.
86
134
87
135
### LSP Capabilities
88
136
89
-
Completion · Go to Definition · Find References · Go to Implementation · Hover · Signature Help · Rename · Code Actions · Diagnostics · Document & Workspace Symbols · Formatting · Folding · Document Links · Semantic Tokens · Inlay Hints · Document Highlights · Code Lens · Call Hierarchy · Document Color
137
+
| Area | Capabilities |
138
+
| --- | --- |
139
+
| Navigation | Go to Definition, Go to Implementation, Find References, Call Hierarchy, Document Highlights |
140
+
| Symbols | Document Symbols, Workspace Symbols, Selection Range |
In practice, this gives you a full day-to-day Lua editing workflow: symbol navigation, annotation-aware type feedback, project-wide references, incremental diagnostics, and formatting support in editors that expose standard LSP features.
0 commit comments