1.17.0
[1.17.0] - 2023-02-12
Added
- Added two code actions:
Sort requires
andSort services
(services only enabled ifluau-lsp.types.roblox
== true).
These actions will sort their respective groups alphabetically based on a variable name set.
You can also set these actions to automatically run on save by configuring:
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
Code_OlQbWEgpWo.mp4
Equivalent functionality has also been added to StyLua
Changed
-
Sync to upstream Luau 0.563
-
Prioritised common services and Instance properties/methods in autocomplete so that they show up first. This is especially useful for services like
ReplicatedStorage
, and methods like:FindFirstChild
Before | After |
---|---|
Fixed
- Further fixes to document symbols failing due to malformed ranges