summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-07-19cleanup test codes最萌小汐
2023-07-18Merge pull request #2177 from sewbacca/feature/shortcut-autorequire最萌小汐
[Feature] Add action to autorequire undefined globals
2023-07-17Added testsSewbacca
2023-07-06signature: narrow by inputed literal最萌小汐
2023-07-06fix supporting unicode in signature最萌小汐
2023-06-28Adapt incomplete-signature-doc to warn about incomplete, not missing docs (#9)AndreaWalchshoferSCCH
Previously, the diagnostic `incomplete-signature-doc` is ignoring fully undocumented functions - but is already triggered by a simple comment. This turns out to be impractical in a few cases, as it also forces a full documentation of functions that should just be annotated with `---@async` (and is therefore not yet fully compatible with `await-in-sync`) So this PR adapts the diagnostic to only warn about **incomplete** signature docs, so it requires at least one `@param` or `@return` annotation before a warning is given. (Otherwise, it would be a missing signature doc, and there's separate diagnostics about that...)
2023-06-27Added crossfile testcaseSewbacca
Improved eq error message in test/code_action/init.lua Uses core.diagnostics.undefined-global
2023-06-23Added concept of action autorequireSewbacca
2023-06-13completion for quoted fields最萌小汐
fix #2088
2023-06-13bind overloads最萌小汐
fix #2083
2023-06-13more smart completion for `continue`最萌小汐
fix #2042
2023-06-01ffi:fix build pathfesily
2023-05-26Merge pull request #2131 from fesily/ffi-plugin-lazyload最萌小汐
command:add reloadFFIMeta
2023-05-26fix output errorfesily
2023-05-25special treat `__*`最萌小汐
#2106
2023-05-25Merge branch 'master' into ffi-plugin-lazyloadfesily
2023-05-25command:add reloadFFIMetafesily
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最萌小汐