Skip to content

1.13.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Oct 20:11

[1.13.0] - 2022-10-28

Added

  • Show documentation for overloaded functions in completion and hover. We show the documentation string of the first overload, and how many other overloads are present.
  • Show documentation for builtin class methods in signature help, including for the correct overload
  • Show documentation for parameters in signature help
  • Added 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.
  • Automatically fill function call arguments using parameter names. This can be disabled using luau-lsp.completion.fillCallArguments.

Changed

  • Sync to upstream Luau 0.551
  • Hide parameter name and variable inlay hint if the name is just _

Fixed

  • Fixed string-based requires to use a fully-qualified file path, fixing Document Link (Follow Link) support for requires
  • Fixed reverse dependencies not being marked as dirty when using string requries due to unnormalised file paths
  • Fixed incorrect highlighting of unnamed parameters in signature help when multiple parameters present of same type
  • Fixed documentation not provided for some built-ins on hover
  • Fixed signature help highlighting of parameters named _
  • Fixed documentation comments of parent function being attached to a nested function
  • Use location to determine which parameter is active in signature help
  • Correctly handle highlighting variadic arguments in signature help
  • [Sublime Text] Fixed push diagnostics not being recomputed when sourcemap or .luaurc changes