Language Server Implementation for Luau
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 2 months ago
luau-lsp.ignoreGlobs
and luau-lsp.completion.imports.ignoreGlobs
to not work (#719)Published by github-actions[bot] 3 months ago
:FindFirstChild()
returning Instance
instead of Instance?
when applied to DataModel types:FindFirstChild()
not supporting a boolean "recursive" 2nd parameter on DataModel types (#704):WaitForChild()
not supporting a number "timeout" 2nd parameter on DataModel types (#704)function Class.foo(self, param)
) (#702):GetPropertyChangedSignal()
still showing children in autocomplete for DataModel types (#699)~
) for paths to home directory not working in VSCode (#707)Published by github-actions[bot] 3 months ago
~
) to home directory for definition and documentation file pathsWaitForChild
functionFindFirstChild
function to the top level datamodel and service types (#543):FindFirstChild("")
and :WaitForChild("")
(#685)Instance.fromExisting
to allow it to operate similar to inst:Clone
(#678)luau-lsp.completion.imports.ignoreGlobs
to filter out files for auto-importing. We no longer check luau-lsp.ignoreGlobs
. (#686):GetPropertyChangedSignal("")
(#684)Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
luau-lsp.types.roblox
setting in favour of luau-lsp.platform.type
luau-lsp.platform.type
to separate platform-specific functionality from the main LSP--platform
to analyze CLI to make configuring luau-lsp.platform.type
more convenientluau-lsp.inlayHints.makeInsertable
(default: true
) to configure whether inlay hint type annotations can be inserted by clicking (#620)luau-lsp.plugin.maximumRequestBodySize
(default: 3mb
) to configure the maximum size of the payload accepted from the Studio Plugin.toml
filesluau
in markdown fenced codeblockscall(other.value)
won't add value:
inlay hint) (#618)self
) are now correctly marked with method
semantic token (#574)Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
luau-lsp.bytecode.typeInfoLevel
(default: 1) to configure the type info level shown.Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
foo:bar
).luau-lsp.completion.showPropertiesOnMethodCall
rojo
processes after VSCode has closedFindFirstAncestor
method now correctly finds the project root in non-DataModel projectsPublished by github-actions[bot] 9 months ago
LuauStacklessTypeClone3
)self
parameters are correctly marked with the method
semantic tokenPublished by github-actions[bot] 10 months ago
Heads up! In VSCode, this release changes the registered language ID from lua
to luau
. If you have any configuration based on the old language ID (e.g. themes / file icons / semantic highlighting overrides / language-specific settings overrides), you may need to update them.
@deprecated
via documentation comments will now reflect its deprecated status in autocomplete (currently no diagnostics support)
Luau: Compute Bytecode for file
and Luau: Compute Compiler Remarks for file
.luau-lsp.bytecode.vectorLib
, luau-lsp.bytecode.vectorCtor
and luau-lsp.bytecode.vectorType
to configure compiler options when generating bytecodeluau-lsp/bytecode
and luau-lsp/compilerRemarks
LSP message to integrate compiler remarks info in their editorhttps://github.com/JohnnyMorganz/luau-lsp/assets/19635171/6d5ea652-7f5f-47fc-acf0-9c823a9de0a0
luau-lsp.types.robloxSecurityLevel
to select what security level to use for the API types, out of: None
, LocalUserSecurity
, PluginSecurity
and RobloxScriptSecurity
--settings
to luau-lsp lsp
configuring the default global settings to uselua
to luau
. NOTE: this may affect existing custom themes!script/globalTypes.d.lua
to script/globalTypes.d.luau
(the old file will be kept temporarily for compatibility)
RobloxScriptSecurity
to PluginSecurity
- set luau-lsp.types.robloxSecurityLevel
to RobloxScriptSecurity
to see original behaviourname
in:local T = {
name = "string"
}
Full Changelog: https://github.com/JohnnyMorganz/luau-lsp/compare/1.26.0...1.27.0
Published by github-actions[bot] 11 months ago
type Foo = {
--- A documentation comment
map: () -> ()
}
loadstring
in autocompleteluau-lsp.diagnostics.strictDatamodelTypes
now defaults to false
on the language server side (note, it was already default false
in VSCode).true
was unintentional. This will affect external language client users (e.g. neovim)luau-lsp.diagnostics.strictDatamodelTypes
if set in the provided configuration.--no-strict-dm-types
still remains for backwards compatibility reasons, but is now deprecated.Published by github-actions[bot] about 1 year ago
game:GetService()
as the first autocompletion entry when typing game:
luau
as the syntax highlightingrequire("@dir")
or require("@dir/subdir")
)Published by github-actions[bot] about 1 year ago
do
blocksPublished by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
NOTE: For automatic sourcemap generation users, this release now requires Rojo v7.3.0+ is installed, with rojo sourcemap --watch
support
luau-lsp.reloadServer
to restart the language server without having to reload the workspacerojo sourcemap --watch
command for sourcemap autogeneration. Note that on rojo error, you must manually restart sourcemap regeneration. Requires Rojo v7.3.0+
luau-lsp.diagnostics.workspace
is enabled.Module.mod
will be resolved as Module.mod.luau