Installation
The process to install Umbrella depends on your IDE and language server of choice. EmmyLua is recommended as it supports a lot of features not supported by LuaLS. Other language servers have not been tested.
EmmyLua (Any supported IDE)
Install EmmyLua for your IDE.
Download Umbrella from Releases. If you’re familiar with Git, you can clone it instead.
At the root of your project, create
.emmyrc.jsonwith the following contents, replacing PATH_TO_UMBRELLA with the full path to your copy of Umbrella:
{
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"workspace": {
"library": [
"PATH_TO_UMBRELLA/library"
]
}
}
Repeat step 3 for new projects.
LuaLS (VSCode)
Note
You may need to restart your computer after installing Git for the addon manager to work correctly. If you can’t get the addon manager to work, try LuaLS (Any IDE).
LuaLS (Any IDE)
Install LuaLS for your IDE.
Download Umbrella from Releases. If you’re familiar with Git, you can clone it instead.
At the root of your project, create
.luarc.jsonwith the following contents, replacing PATH_TO_UMBRELLA with the full path to your copy of Umbrella.
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"workspace.library": ["PATH_TO_UMBRELLA/library"],
}
Repeat step 3 for new projects.