You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Support doc comments attached to table function properties
* Add more tests
* Support comments attached to vars
* Improve comment extraction on hover
* Update changelog
* Allow variable number of equals signs
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
10
10
11
11
- Added syntax highlighting support for interpolated strings
12
12
- Added color viewers for Color3.new/fromRGB/fromHSV/fromHex
13
+
- Support documentation comments on variables:
14
+
15
+
```lua
16
+
--- documentation comment
17
+
localx="string"
18
+
19
+
--- another doc comment
20
+
localy=function()
21
+
end
22
+
```
23
+
24
+
- Support documentation comments on table properties, such as the following:
25
+
26
+
```lua
27
+
localtbl= {
28
+
--- This is some special information
29
+
data="hello",
30
+
--- This is a doc comment
31
+
values=function()
32
+
end,
33
+
}
34
+
35
+
localx=tbl.values-- Should give "This is a doc comment"
36
+
localy=tbl.data-- Should give "This is some special information"
37
+
```
13
38
14
39
### Changed
15
40
16
41
- Sync to upstream Luau 0.558
17
42
- All Luau FFlags are no longer enabled by default. This can be re-enabled by configuring `luau-lsp.fflags.enableByDefault`. It is recommended to keep `luau-lsp.fflags.sync` enabled so that FFlags sync with upstream Luau
43
+
- Allow variable number of `=` sign for multiline doc comments, so `--[[` and `--[===[` etc. are valid openers
0 commit comments