llvm-project/clang-tools-extra/clangd/test
Nathan James cfa1010c42
[clangd] Provide suggestions with invalid config keys
Update the config file warning when an unknown key is detected which is likely a typo by suggesting the likely key.
This won't suggest a key that has already been seen in the block.

Appends the fix to the diag, however right now there is no support for presenting that fix to the user.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D92990
2020-12-15 18:16:17 +00:00
..
Inputs [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
index-serialization [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
remote-index [clangd] Add index server request logging 2020-11-11 23:58:18 +01:00
xpc
CMakeLists.txt [clangd] Add lit tests for remote index 2020-11-02 08:38:16 +01:00
ast.test [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
background-index.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
call-hierarchy.test [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
check-fail.test [clangd] ExpandAutoType: Do not offer code action on lambdas. 2020-12-08 20:03:16 +01:00
check.test [clangd] Drop dependence on standard library in check.test 2020-10-02 09:53:06 +02:00
code-action-request.test [clangd] Support CodeActionParams.only 2020-10-29 09:44:08 +01:00
compile-commands-path-in-initialize.test [clangd][test] Make sed git bash compliant 2020-04-20 08:27:15 +02:00
completion-auto-trigger.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
completion-snippets.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
completion.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
config.test [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
crash-non-added-files.test
delimited-input-comment-at-the-end.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
dependency-output.test [clangd] Disable dependency-output lit test on windows 2020-04-25 13:55:38 +02:00
diagnostic-category.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
diagnostics-no-tidy.test [clangd] Make version in PublishDiagnosticsParams optional 2020-05-11 10:31:10 +02:00
diagnostics-notes.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
diagnostics.test [clangd] Make version in PublishDiagnosticsParams optional 2020-05-11 10:31:10 +02:00
did-change-configuration-params.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
document-link.test [clangd] Fix check-clangd with no clang built 2020-11-02 21:10:43 +01:00
execute-command.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
exit-eof.test [clangd] Shutdown cleanly on signals. 2019-11-27 12:38:49 +01:00
exit-with-shutdown.test
exit-without-shutdown.test
filestatus.test
fixits-codeaction.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
fixits-command.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
fixits-embed-in-diagnostic.test [clangd] Mark code action as "preferred" if it's the sole quickfix action 2020-09-30 10:11:30 +02:00
formatting.test [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
hover.test [clangd][Hover] Change arrow in return type back to → 2020-01-24 13:05:21 +01:00
implementations.test [clangd] textDocument/implementation (LSP layer) 2020-11-23 13:50:44 +01:00
index-tools.test
initialize-params-invalid.test
initialize-params.test [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
initialize-sequence.test
input-mirror.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
lit.cfg.py [clangd] Ensure we test for compatibility of serialized index format 2020-11-13 17:06:23 +01:00
lit.local.cfg
lit.site.cfg.py.in [clangd] Ensure we test for compatibility of serialized index format 2020-11-13 17:06:23 +01:00
log.test [clangd] Account for vendor in version string 2020-11-02 09:04:44 -08:00
memory_tree.test [clangd] Rename edge name for filesymbols to slabs in memorytree 2020-10-19 16:09:46 +02:00
metrics.test [clangd] Add CSV export for trace metrics 2020-05-19 13:35:31 +02:00
path-mappings.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
protocol.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
references.test
rename.test [clangd] Extend the rename API. 2020-10-02 16:03:44 +02:00
request-reply.test Make code-action-request.test and request-reply.test pass on Windows. 2019-10-14 01:00:33 +00:00
selection-range.test [clangd] Add semantic selection to ClangdLSPServer. 2019-09-24 13:38:33 +00:00
semantic-highlighting.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
semantic-tokens.test [clangd] Update semanticTokens support to reflect latest LSP draft 2020-07-10 16:52:57 +02:00
signature-help-with-offsets.test [clangd] Support offsets for parameters in signatureHelp 2019-06-04 09:36:59 +00:00
signature-help.test
spaces-in-delimited-input.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
symbol-info.test convert another test to unix line endings 2019-10-14 02:21:12 +00:00
symbols.test [clangd] Add `score` extension to workspace/symbol response. 2020-10-06 11:57:38 +02:00
system-include-extractor.test [clangd][query-driver] Extract target 2020-11-26 15:08:26 +03:00
target_info.test Fix target_info.test on Windows with a hack 2020-04-13 13:14:06 -07:00
test-uri-posix.test
test-uri-windows.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
textdocument-didchange-fail.test
too_large.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
trace.test
tweaks-format.test
type-hierarchy.test [clangd] Follow-up to fix lit-test bustage in type-hierarchy.test 2020-06-15 12:18:21 -04:00
unsupported-method.test
utf8.test
version.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
xrefs.test