summaryrefslogtreecommitdiff
path: root/script/provider/diagnostic.lua
AgeCommit message (Collapse)Author
2024-06-04don't do diagnostics when workspace is not readyFolke Lemaitre
2024-04-20Run diagnostics on unopened files when explicitly requested by the userPaul Emmerich
If I explicitly click on "Diagnose workspace" I would expect it to show me *all* the diagnostics similar to how --check in a CI would check my project. This makes it easier for users to check their whole workspace after making changes to some library or core function that potentially affects a large number of files that are usually only checked once opened.
2023-01-18check client ability before `diagnostic/refresh`最萌小汐
2022-12-09do full gc after scope diag最萌小汐
#1745
2022-11-16fix clearing diags with multi-workspace最萌小汐
2022-11-15do scope diag when creating and removing files最萌小汐
2022-11-06improve performance最萌小汐
2022-11-02should not gc最萌小汐
2022-11-02fix diag results remains最萌小汐
2022-10-25add `doc.privateName` and `doc.protectedName`最萌小汐
#1316
2022-10-17new setting `Lua.diagnostics.workspaceEvent`最萌小汐
set the time to trigger workspace diagnostics. resolve #1626
2022-10-17clear node cache after scope diagnosing最萌小汐
#1626
2022-10-17use `state` instead of `uri` for converter最萌小汐
The state may have changed when responding, so we need to use the state when requesting. Try not to get the state on the spot.
2022-09-28don't do workspace for fallback最萌小汐
2022-08-19fix `diagnostics.workspaceDelay`最萌小汐
2022-08-01fix #1418最萌小汐
2022-07-06improve diag最萌小汐
2022-07-05resolve #1254 can suppress syntax errors最萌小汐
2022-07-01cleanup最萌小汐
2022-06-23fix workspace diags最萌小汐
2022-06-23update最萌小汐
2022-06-23update最萌小汐
2022-06-23`FIX` diagnostics flash when opening a file最萌小汐
2022-06-23update最萌小汐
2022-06-18clear diags before restarting最萌小汐
2022-06-07cleanup最萌小汐
2022-06-07cleanup最萌小汐
2022-05-28use `pull diagnostic` for diag opened files最萌小汐
2022-05-28remove supporting for `pull diagnostic`最萌小汐
2022-05-26use preview最萌小汐
2022-05-26`workspace/diagnostic`最萌小汐
2022-05-25first step of `pull diagnostic`最萌小汐
2022-05-24add settings for file scheme最萌小汐
`workspace.supportScheme`: `["file", "untitled", "git"]` `diagnostics.disableScheme`: `["git"]`
2022-04-27avoid sending empty results最萌小汐
empty results should convert to `clear diag`
2022-04-22#946 use a better way最萌小汐
Clear cache when `didOpen`. This avoids clearing the cache according to the situation in the diagnostic business.
2022-04-22Revert "perf(diagnostic): avoid first send"最萌小汐
This reverts commit e81ffc189a1976adf2998f15cae0bd5b141435e2.
2022-04-20perf(diagnostic): avoid first sendkevinhwang91
If the cache is equal to the full result, we should avoid to notify client during first stage.
2022-04-10cancel searching reference最萌小汐
2022-04-05#1018 cleanup logs最萌小汐
2022-03-04diagnostic opened files first最萌小汐
2022-03-04don't open non-file uri最萌小汐
2022-03-01offline diagnostic最萌小汐
2022-02-09update diagnostic最萌小汐
typing immediately stops workspace diagnostics
2022-02-09cleanup最萌小汐
2022-02-09use `time.time` instead of `os.clock`最萌小汐
the implementation of os.clock under the windows platform is inconsistent with other platforms
2022-02-09fix #946最萌小汐
don't assume the client will cache diagnostics
2022-01-23diagnostic check file as folder before as librarysumneko
2022-01-23add logssumneko
2022-01-23get scoped filessumneko
2022-01-23cleanupsumneko