Home
last modified time | relevance | path

Searched refs:textEdit (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dcompletion-auto-trigger.test29 # CHECK-NEXT: "textEdit": {
52 # CHECK-NEXT: "textEdit": {
93 # CHECK-NEXT: "textEdit": {
H A Dcompletion.test22 # CHECK-NEXT: "textEdit": {
56 # CHECK-NEXT: "textEdit": {
H A Dcompletion-snippets.test38 # CHECK-NEXT: "textEdit": {
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCodeComplete.cpp2149 LSP.textEdit = {CompletionTokenRange, RequiredQualifier + Name}; in render()
2158 if (FixIt.range.end == LSP.textEdit->range.start) { in render()
2159 LSP.textEdit->newText = FixIt.newText + LSP.textEdit->newText; in render()
2160 LSP.textEdit->range.start = FixIt.range.start; in render()
2166 LSP.textEdit->newText += SnippetSuffix; in render()
2170 LSP.insertText = LSP.textEdit->newText; in render()
H A DProtocol.cpp999 if (CI.textEdit) in toJSON()
1000 Result["textEdit"] = *CI.textEdit; in toJSON()
H A DProtocol.h1239 llvm::Optional<TextEdit> textEdit; member
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.cpp753 if (value.textEdit) in toJSON()
754 result["textEdit"] = *value.textEdit; in toJSON()
H A DProtocol.h836 Optional<TextEdit> textEdit; member
/llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/
H A DMLIRServer.cpp1053 if (item.textEdit) in getCodeCompletion()
1054 chunk.adjustLocForChunkOffset(item.textEdit->range); in getCodeCompletion()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCodeCompleteTests.cpp2199 EXPECT_TRUE(R.textEdit); in TEST()
2200 EXPECT_EQ(R.textEdit->newText, "->Foo::x"); in TEST()
2219 EXPECT_TRUE(R.textEdit); in TEST()
2220 EXPECT_EQ(R.textEdit->newText, "Foo::x"); in TEST()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp1608 if (item.textEdit) in getCodeCompletion()
1609 chunk.adjustLocForChunkOffset(item.textEdit->range); in getCodeCompletion()