Language Server Implementation for Luau
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/JohnnyMorganz/luau-lsp/compare/1.14.1...1.14.2
Published by github-actions[bot] almost 2 years ago
__index
is set to itselfPublished by github-actions[bot] almost 2 years ago
for x in y
loopsPublished by github-actions[bot] almost 2 years ago
luau-lsp.completion.addParentheses
when fillCallArguments
is enabledPublished by github-actions[bot] almost 2 years ago
luau-lsp.completion.addParentheses
and luau-lsp.completion.addTabstopAfterParentheses
to configure whether parentheses are added when completing a function call, and whether we include a tab stop after the parentheses respectively.luau-lsp.completion.fillCallArguments
._
_
.luaurc
changesPublished by github-actions[bot] about 2 years ago
Re-release of v1.12.0 to fix VSCode Windows x64 extension issues
Published by github-actions[bot] about 2 years ago
Instance:IsA("ClassName")
and errors when ClassName is unknownInstance:GetPropertyChangedSignal("Property")
and errors when Property is unknownEnumItem:IsA("enum")
and errors when Enum is unknown--ignore=GLOB
to luau-lsp analyze
allowing you to provide glob patterns to ignore diagnostics, similar to luau-lsp.ignoreGlobs
. Repeat the flag multiple times for multiple patterns__index
etc.) in autocompletehover.strictDataModelTypes
is disabledself
incorrectly showing up in Inlay Hints and Signature HelpPublished by github-actions[bot] about 2 years ago
script
nodes. Improved autocomplete will now be provided for non-DataModel projects (e.g. Tool
as Root)Full Changelog: https://github.com/JohnnyMorganz/luau-lsp/compare/1.11.1...1.11.2
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
.meta.json
file being picked as a script's file path instead of the actual Luau filePublished by github-actions[bot] about 2 years ago
game
will now correctly show in autocomplete[email protected]
-> Packages._Index["[email protected]"]
game.Players.LocalPlayer.PlayerScripts
to game.StarterPlayer.StarterPlayerScripts
(and PlayerGui + StarterGear)luau-lsp analyze
Published by github-actions[bot] about 2 years ago
This release introduces support for a Studio Plugin to allow the language server to infer instance trees: #136
We also start creating nightly releases available at https://github.com/JohnnyMorganz/luau-lsp/actions/workflows/nightly.yml which builds and packages current main branch every day at midnight UTC.
To use a nightly release, visit the nightly actions section and select an action run. You should find artifacts available to download - unpackage the relevant artifact then use Extensions: Install from VSIX...
from vscode. We also build a binary which can be used.
luau-lsp.plugin.enabled
. Install the plugin from the Plugin Marketplace
local tbl = {}
, the hint : tbl
will no longer show) (#137)Published by github-actions[bot] about 2 years ago
luau-lsp analyze
would not exit with non-zero error code when definitions failed to loadluau-lsp analyze
would not exit with non-zero error code when file path provided was not foundlocal name
)HumanoidDescription
and TeleportService
methods by @fewkz in https://github.com/JohnnyMorganz/luau-lsp/pull/125
Full Changelog: https://github.com/JohnnyMorganz/luau-lsp/compare/1.9.1...1.9.2
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Added configuration options to enable certain Language Server features. By default, they are all enabled:
luau-lsp.completion.enabled
: Autocompleteluau-lsp.hover.enabled
: Hoverluau-lsp.signatureHelp.enabled
: Signature HelpAdded configuration option luau-lsp.hover.showTableKinds
(default: off) to indicate whether kinds ({+ ... +}
, {| ... |}
) are shown in hover information
Added configuration option luau-lsp.hover.multilineFunctionDefinitions
(default: off) to spread function definitions in hover panel across multiple lines
Added configuration option luau-lsp.hover.strictDatamodelTypes
(default: on) to use strict DataModel type information in hover panel (equivalent to autocomplete). When disabled, the same type information that the diagnostic type checker uses is displayed
Added support for automatic service importing. When using a service which has not yet been defined, it will be added (alphabetically) to the top of the file. Config setting: luau-lsp.completion.suggestImports
:FindFirstChild
, :FindFirstAncestor
and :FindFirstDescendant
have been changed to return Instance?
:GetActor
is fixed to return Actor?
--definitions=
when calling luau-lsp analyze
Full Changelog: https://github.com/JohnnyMorganz/luau-lsp/compare/1.8.1...1.9.0
Published by github-actions[bot] about 2 years ago
self
being showed as the first inlay hint incorrectly in parameter names and typesPublished by github-actions[bot] about 2 years ago
__index
luau-lsp.inlayHints.parameterNames
, luau-lsp.inlayHints.parameterTypes
, luau-lsp.inlayHints.variableTypes
, luau-lsp.inlayHints.functionReturnTypes
.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
luau-lsp.diagnostics.workspace
for project wide diagnostics.typeof()
, allowing you to determine what typeof resolved to.Luau: Regenerate Rojo Sourcemap
command to force regeneration of a Rojo sourcemapdefault.project.json
was not found. We search for other project files, and prompt a user to configurePublished by github-actions[bot] over 2 years ago
luau-lsp.sourcemap.enabled
option which dictates whether sourcemap-related features are enabledluau-lsp.sourcemap.rojoPath
to explicitly specify the path to a Rojo executable instead of relying on it being available from the workspace directory_
will no longer show when we can't determine a function name / a function isn't named.script
/workspace
/game
for children:Clone()
calls when called on an expression which isn't an Lvalue (e.g., inst:FindFirstChild(name):Clone()
)_:
would not be removed as the name of function arguments. function foo(_: number, _: number)
will now show as function foo(number, number)