summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2023-01-30limit error message for type dismatch最萌小汐
resolve #1838
2023-01-30infer types of tableindex by semantic最萌小汐
fix #1831
2023-01-30fix wrong infer of tableindex最萌小汐
#1831
2023-01-30respect quotation marks最萌小汐
2023-01-18normalize uri from RPC最萌小汐
fix #1810
2023-01-17don't check `duplicate-set-field` in different if最萌小汐
2023-01-17more special treates for meta files最萌小汐
2023-01-16support `---@meta [name]`最萌小汐
once declared `name`, user can only require this file by declared name meta file can not be required with name `_`
2023-01-16fix #1824最萌小汐
2023-01-16improve type infer of recursion alias最萌小汐
2023-01-13fix最萌小汐
2023-01-13fix最萌小汐
2023-01-12stash最萌小汐
2023-01-11stash最萌小汐
2023-01-09fix最萌小汐
2023-01-09cast global最萌小汐
2023-01-09support trace for global最萌小汐
2023-01-03fix renaming最萌小汐