A language server implementation for the Luau programming language, providing IDE features like autocomplete and type checking.
Luau Language Server is an open-source implementation of the Language Server Protocol for the Luau programming language. It provides IDE-like features such as autocomplete, hover documentation, go-to-definition, and type checking for Luau code, which is widely used in Roblox game development. It solves the problem of lacking advanced tooling and static analysis for Luau, helping developers catch errors early and improve code navigation.
Luau developers, particularly those working on Roblox projects using editors like VSCode, and teams needing consistent type checking in CI pipelines.
Developers choose Luau Language Server for its deep integration with the Roblox ecosystem, including built-in API types and Rojo sourcemap support, its comprehensive LSP feature set, and the ability to run standalone analysis for CI. It's the most feature-rich language server available for Luau.
Language Server Implementation for Luau
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Includes built-in Roblox API type definitions and uses Rojo sourcemaps for DataModel instance resolution, providing accurate autocomplete and hover intellisense for game development.
Supports a wide range of LSP features like diagnostics, autocompletion, hover, and semantic tokens, delivering a full IDE experience as listed in the README.
Can be run as a CLI tool (`luau-lsp analyze`) for batch analysis and CI checks, enabling automated code quality validation with Roblox API support.
Works with any editor supporting LSP via client configuration, making it versatile across different development environments, as noted in the documentation.
DataModel instances default to `any` type in diagnostics to reduce false positives, requiring explicit enablement of `strictDatamodelTypes` for accurate checking, a limitation acknowledged in the README.
Lacks support for code formatting within the LSP, necessitating external tools like stylua, which is listed as not implemented in the supported features.
Crash reporting is only available for Windows and macOS and not in standalone mode, reducing error tracking capabilities for other platforms and CI environments.