Skip to content

1.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Aug 20:14

[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: Autocomplete
    • luau-lsp.hover.enabled: Hover
    • luau-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, :FindFirstAncestor and :FindFirstDescendant have been changed to return Instance?
  • :GetActor is fixed to return Actor?
  • Fixed bug when using --definitions= when calling luau-lsp analyze

Full Changelog: 1.8.1...1.9.0