1.9.0
[1.9.0] - 2022-08-16
Added
-
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 Help
-
Added 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
Changed
- Sync to upstream Luau 0.540
Fixed
- The types of
:FindFirstChild,:FindFirstAncestorand:FindFirstDescendanthave been changed to returnInstance? :GetActoris fixed to returnActor?- Fixed bug when using
--definitions=when callingluau-lsp analyze
Full Changelog: 1.8.1...1.9.0