summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-05-23trace filter of `repeat`最萌小汐
fix #2113
2023-05-22special searching for `__index`最萌小汐
#2106
2023-05-16Merge pull request #2107 from AlWoSp/thwe/missing-local-export-doc最萌小汐
Annotation rule for exported local functions
2023-05-12support arrayfesily
2023-05-12rename testfesily
2023-05-12link server by pluginfesily
2023-05-12add builderfesily
2023-05-11Annotation rule for exported local functionsThomas Wetzlmaier
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
2023-05-11more testfesily
2023-05-11add builderfesily
2023-05-10fix testfesily
2023-05-10more testfesily
2023-05-10fix testfesily
2023-05-10fix testfesily
2023-05-10ffi supportfesily
2023-04-26lock parsing resume最萌小汐
fix #2056
2023-04-26don't merge comments from `setlocal`最萌小汐
fix #2077
2023-04-24Cleanup PRAndreaWalchshoferSCCH
Revert Changes made from unrelated PR
2023-04-19Warn about missing '---comment', '@return' and '@param' annotations (#3)Thomas Wetzlmaier
All functions that have at least one such annotation should be fully annotated in that respect, because we find that partially annotating something leads to confusion. However, all global functions must always be fully annotated, because they should be avoided in the first place, but if necessary then only with the maximum amount of documentation/support for those who use them! We provide the following keys for the `diagnostics.disable` setting to specifically deactive these checks: _missing-global-doc_: global function definitions which are not fully annotated. _incomplete-signature-doc_: function definitions that have some annotations but are not fully annotated
2023-04-04Add diagnostic to enforce lowercase local element names (#6)AndreaWalchshoferSCCH
- diagnostic `uppercase-local` in group `conventions`, disabled by default - isolated unit tests for diagnostic
2023-03-31Merge pull request #2040 from AlWoSp/master最萌小汐
Add optional diagnostic warning about any global element
2023-03-30Incorporate Review Comments (#4)AndreaWalchshoferSCCH
* add newlines to end of files * change the group name to `conventions`
2023-03-30Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)AndreaWalchshoferSCCH
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
2023-03-30Add diagnostic to enforce lowercase local element names (#2)AndreaWalchshoferSCCH
2023-03-29fix #2037最萌小汐
2023-03-28Merge remote-tracking branch 'upstream/master'alwo
2023-03-27check operator `/`, `^` and `//`最萌小汐
fix #2036
2023-03-22Merge remote-tracking branch 'upstream/master'alwo
2023-03-22recover mark before return最萌小汐
fix #2004
2023-03-22Merge remote-tracking branch 'upstream/master'alwo
2023-03-22don't treat half string in comment as string最萌小汐
fix #2013
2023-03-22Add diagnostic warning about any global (#1)AndreaWalchshoferSCCH
* Add warning for any global variable via diagnostic * Add messages in en-US TODO: add messages in languages other than en-us as well * fallback: enable/disable diagnostics w/ annotation * Add tests for the new diagnostic * Add diagnostic and group to config.md
2023-03-21pass tests最萌小汐
2023-03-13look into unions for operators最萌小汐
fix #1996
2023-03-13infer unknown operation as unknown最萌小汐
#1996
2023-03-09support `x or error(...)`最萌小汐
fix #1945
2023-03-08fix #1928最萌小汐
2023-03-08should check type of `self`最萌小汐
fix #1922
2023-03-08don't treat `_ENV` as param最萌小汐
fix #1715
2023-03-07search full refs for global最萌小汐
fix #1914
2023-03-02Array of a class type does not get completion #1940jharajeev55
https: //github.com/LuaLS/lua-language-server/issues/1940 Co-Authored-By: esarver <4965633+esarver@users.noreply.github.com>
2023-02-13fix #1902最萌小汐
2023-02-10fix #1887最萌小汐
2023-02-10fix #1889最萌小汐
2023-02-04should write complete array or object into json最萌小汐
#1859
2023-02-02fix #1871最萌小汐
2023-02-02special treate for return values of require最萌小汐
2nd should be unknown since Lua 5.3, otherwise should be nil #1868
2023-01-31fix #1855最萌小汐
2023-01-31fix #1857最萌小汐
2023-01-30copy nodes when tracing list最萌小汐
fix #1841