From 1cf644807b04de5f947cc8b148a7176839599e1b Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Wed, 28 Jun 2023 11:32:37 +0530 Subject: [PATCH 1/7] Remove the check for ignoring comment minutiae --- .../codeaction/providers/imports/ImportModuleCodeAction.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java index 3bbc72cc924a..30ad68ef734a 100644 --- a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java +++ b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java @@ -193,9 +193,6 @@ private static Position getImportPosition(CodeActionContext context) { // And no further processing is required insertPosition = new Position(minutiae.lineRange().startLine().line(), 0); break; - } else if (minutiae.kind() == SyntaxKind.COMMENT_MINUTIAE) { - // If we find a comment, consider the import's position to be the next line - insertPosition = new Position(minutiae.lineRange().endLine().line() + 1, 0); } } From 32583fd710734e9e4374133f6e07e7bd55dee276 Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Thu, 29 Jun 2023 18:48:17 +0530 Subject: [PATCH 2/7] Add unit test --- .../ImportModuleCodeActionTest.java | 3 +- .../importModuleWithTopLevelComment.json | 28 +++++++++++++++++++ .../importModuleWithTopLevelComment.bal | 8 ++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 language-server/modules/langserver-core/src/test/resources/codeaction/import-module/config/importModuleWithTopLevelComment.json create mode 100644 language-server/modules/langserver-core/src/test/resources/codeaction/import-module/source/importModuleWithTopLevelComment.bal diff --git a/language-server/modules/langserver-core/src/test/java/org/ballerinalang/langserver/codeaction/ImportModuleCodeActionTest.java b/language-server/modules/langserver-core/src/test/java/org/ballerinalang/langserver/codeaction/ImportModuleCodeActionTest.java index 93f63e1d70d1..766cece200a1 100644 --- a/language-server/modules/langserver-core/src/test/java/org/ballerinalang/langserver/codeaction/ImportModuleCodeActionTest.java +++ b/language-server/modules/langserver-core/src/test/java/org/ballerinalang/langserver/codeaction/ImportModuleCodeActionTest.java @@ -66,7 +66,8 @@ public Object[][] dataProvider() { {"importModuleWithMultipleModAliases2.json"}, {"importModuleWithLicenceHeader1.json"}, {"importModuleWithLicenceHeader2.json"}, - {"importModuleWithIgnoredImport.json"} + {"importModuleWithIgnoredImport.json"}, + {"importModuleWithTopLevelComment.json"} }; } diff --git a/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/config/importModuleWithTopLevelComment.json b/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/config/importModuleWithTopLevelComment.json new file mode 100644 index 000000000000..40a354ad53fe --- /dev/null +++ b/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/config/importModuleWithTopLevelComment.json @@ -0,0 +1,28 @@ +{ + "position": { + "line": 6, + "character": 24 + }, + "source": "importModuleWithTopLevelComment.bal", + "expected": [ + { + "title": "Import module 'ballerina/lang.array'", + "kind": "quickfix", + "edits": [ + { + "range": { + "start": { + "line": 0, + "character": 0 + }, + "end": { + "line": 0, + "character": 0 + } + }, + "newText": "import ballerina/lang.array;\n" + } + ] + } + ] +} diff --git a/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/source/importModuleWithTopLevelComment.bal b/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/source/importModuleWithTopLevelComment.bal new file mode 100644 index 000000000000..8e1cfcd22853 --- /dev/null +++ b/language-server/modules/langserver-core/src/test/resources/codeaction/import-module/source/importModuleWithTopLevelComment.bal @@ -0,0 +1,8 @@ +// Foo is a record +type Foo record {| + string name; +|}; + +public function main() { + int length = array:length([1,2,3]); +} From 29ce6d90a46416851a51e5d51a33d86518b67c56 Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Mon, 17 Jul 2023 16:18:42 +0530 Subject: [PATCH 3/7] Consider license header in add import completion item --- .../imports/ImportModuleCodeAction.java | 36 +----------------- .../langserver/common/utils/CommonUtil.java | 38 ++++++++++++++++--- 2 files changed, 34 insertions(+), 40 deletions(-) diff --git a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java index 30ad68ef734a..fa10cf60b3c4 100644 --- a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java +++ b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/codeaction/providers/imports/ImportModuleCodeAction.java @@ -18,14 +18,10 @@ import io.ballerina.compiler.api.symbols.ModuleSymbol; import io.ballerina.compiler.syntax.tree.ImportDeclarationNode; import io.ballerina.compiler.syntax.tree.ImportPrefixNode; -import io.ballerina.compiler.syntax.tree.Minutiae; -import io.ballerina.compiler.syntax.tree.ModulePartNode; -import io.ballerina.compiler.syntax.tree.NodeList; import io.ballerina.compiler.syntax.tree.NodeVisitor; import io.ballerina.compiler.syntax.tree.NonTerminalNode; import io.ballerina.compiler.syntax.tree.QualifiedNameReferenceNode; import io.ballerina.compiler.syntax.tree.SyntaxKind; -import io.ballerina.compiler.syntax.tree.SyntaxTree; import io.ballerina.compiler.syntax.tree.Token; import io.ballerina.tools.diagnostics.Diagnostic; import org.ballerinalang.annotation.JavaSPIService; @@ -148,7 +144,7 @@ public List getCodeActions(Diagnostic diagnostic, String orgName = pkgEntry.packageOrg().value(); String pkgName = pkgEntry.packageName().value(); String moduleName = ModuleUtil.escapeModuleName(pkgName); - Position insertPos = getImportPosition(context); + Position insertPos = CommonUtil.getImportPosition(context); String importText = orgName.isEmpty() ? String.format("%s %s;%n", ItemResolverConstants.IMPORT, moduleName) : String.format("%s %s/%s;%n", ItemResolverConstants.IMPORT, orgName, moduleName); @@ -169,36 +165,6 @@ public String getName() { return NAME; } - private static Position getImportPosition(CodeActionContext context) { - // Calculate initial import insertion line - Optional syntaxTree = context.currentSyntaxTree(); - ModulePartNode modulePartNode = syntaxTree.orElseThrow().rootNode(); - NodeList imports = modulePartNode.imports(); - // If there is already an import, add the new import after the last import - if (!imports.isEmpty()) { - ImportDeclarationNode lastImport = imports.get(imports.size() - 1); - return new Position(lastImport.lineRange().endLine().line() + 1, 0); - } - - // If the module part has no children, add the import at the beginning of the file - if (modulePartNode.members().isEmpty()) { - return new Position(0, 0); - } - - Position insertPosition = new Position(0, 0); - for (Minutiae minutiae : modulePartNode.leadingMinutiae()) { - if (minutiae.kind() == SyntaxKind.END_OF_LINE_MINUTIAE - && minutiae.lineRange().startLine().offset() == 0) { - // If we find a new line character with offset 0 (a blank line), add the import after that - // And no further processing is required - insertPosition = new Position(minutiae.lineRange().startLine().line(), 0); - break; - } - } - - return insertPosition; - } - /** * A visitor to find the qualified name reference node within an expression. */ diff --git a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/common/utils/CommonUtil.java b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/common/utils/CommonUtil.java index f1c0ee2139bc..76949b967db0 100644 --- a/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/common/utils/CommonUtil.java +++ b/language-server/modules/langserver-core/src/main/java/org/ballerinalang/langserver/common/utils/CommonUtil.java @@ -36,6 +36,7 @@ import io.ballerina.compiler.syntax.tree.ModulePartNode; import io.ballerina.compiler.syntax.tree.ModuleVariableDeclarationNode; import io.ballerina.compiler.syntax.tree.Node; +import io.ballerina.compiler.syntax.tree.NodeList; import io.ballerina.compiler.syntax.tree.NonTerminalNode; import io.ballerina.compiler.syntax.tree.ObjectFieldNode; import io.ballerina.compiler.syntax.tree.ObjectTypeDescriptorNode; @@ -173,10 +174,6 @@ public static List getAutoImportTextEdits(@Nonnull String orgName, Str */ public static List getAutoImportTextEdits(@Nonnull String orgName, String pkgName, String alias, DocumentServiceContext context) { - Map currentDocImports = context.currentDocImportsMap(); - Optional last = CommonUtil.getLastItem(new ArrayList<>(currentDocImports.keySet())); - int endLine = last.map(node -> node.lineRange().endLine().line()).orElse(0); - Position start = new Position(endLine, 0); StringBuilder builder = new StringBuilder(ItemResolverConstants.IMPORT + " " + (!orgName.isEmpty() ? orgName + SLASH_KEYWORD_KEY : orgName) @@ -186,7 +183,38 @@ public static List getAutoImportTextEdits(@Nonnull String orgName, Str } builder.append(SEMI_COLON_SYMBOL_KEY).append(CommonUtil.LINE_SEPARATOR); - return Collections.singletonList(new TextEdit(new Range(start, start), builder.toString())); + Position insertPos = getImportPosition(context); + return Collections.singletonList(new TextEdit(new Range(insertPos, insertPos), builder.toString())); + } + + public static Position getImportPosition(DocumentServiceContext context) { + // Calculate initial import insertion line + Optional syntaxTree = context.currentSyntaxTree(); + ModulePartNode modulePartNode = syntaxTree.orElseThrow().rootNode(); + NodeList imports = modulePartNode.imports(); + // If there is already an import, add the new import after the last import + if (!imports.isEmpty()) { + ImportDeclarationNode lastImport = imports.get(imports.size() - 1); + return new Position(lastImport.lineRange().endLine().line() + 1, 0); + } + + // If the module part has no children, add the import at the beginning of the file + if (modulePartNode.members().isEmpty()) { + return new Position(0, 0); + } + + Position insertPosition = new Position(0, 0); + for (Minutiae minutiae : modulePartNode.leadingMinutiae()) { + if (minutiae.kind() == SyntaxKind.END_OF_LINE_MINUTIAE + && minutiae.lineRange().startLine().offset() == 0) { + // If we find a new line character with offset 0 (a blank line), add the import after that + // And no further processing is required + insertPosition = new Position(minutiae.lineRange().startLine().line(), 0); + break; + } + } + + return insertPosition; } /** From 1afddce6b6904533e62e58013e5a3c2b8b367b2d Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Mon, 17 Jul 2023 16:18:53 +0530 Subject: [PATCH 4/7] Add unit test --- .../import_decl/config/config27.json | 907 ++++++++++++++++++ .../import_decl/source/source15.bal | 5 + 2 files changed, 912 insertions(+) create mode 100644 language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config27.json create mode 100644 language-server/modules/langserver-core/src/test/resources/completion/import_decl/source/source15.bal diff --git a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config27.json b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config27.json new file mode 100644 index 000000000000..cbb078f94c96 --- /dev/null +++ b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config27.json @@ -0,0 +1,907 @@ +{ + "position": { + "line": 3, + "character": 11 + }, + "source": "import_decl/source/source15.bal", + "description": "", + "items": [ + { + "label": "xmlns", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "xmlns", + "insertText": "xmlns \"${1}\" as ${2:ns};", + "insertTextFormat": "Snippet" + }, + { + "label": "xmlns", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "xmlns", + "insertText": "xmlns ", + "insertTextFormat": "Snippet" + }, + { + "label": "var", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "var", + "insertText": "var ", + "insertTextFormat": "Snippet" + }, + { + "label": "wait", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "wait", + "insertText": "wait ", + "insertTextFormat": "Snippet" + }, + { + "label": "start", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "start", + "insertText": "start ", + "insertTextFormat": "Snippet" + }, + { + "label": "flush", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "flush", + "insertText": "flush ", + "insertTextFormat": "Snippet" + }, + { + "label": "isolated", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "isolated", + "insertText": "isolated ", + "insertTextFormat": "Snippet" + }, + { + "label": "transactional", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "transactional", + "insertText": "transactional", + "insertTextFormat": "Snippet" + }, + { + "label": "checkpanic", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "checkpanic", + "insertText": "checkpanic ", + "insertTextFormat": "Snippet" + }, + { + "label": "check", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "check", + "insertText": "check ", + "insertTextFormat": "Snippet" + }, + { + "label": "final", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "final", + "insertText": "final ", + "insertTextFormat": "Snippet" + }, + { + "label": "fail", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "fail", + "insertText": "fail ", + "insertTextFormat": "Snippet" + }, + { + "label": "from", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "from", + "insertText": "from ", + "insertTextFormat": "Snippet" + }, + { + "label": "if", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "if", + "insertText": "if ${1:true} {\n\t${2}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "while", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "while", + "insertText": "while ${1:true} {\n\t${2}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "do", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "do", + "insertText": "do {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "lock", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "lock", + "insertText": "lock {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "foreach", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "foreach", + "insertText": "foreach ${1:var} ${2:item} in ${3:itemList} {\n\t${4}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "foreach i", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "foreach", + "insertText": "foreach ${1:int} ${2:i} in ${3:0}...${4:9} {\n\t${5}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "fork", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "fork", + "insertText": "fork {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "transaction", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "transaction", + "insertText": "transaction {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "retry", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "retry", + "insertText": "retry {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "retry transaction", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "retry_transaction", + "insertText": "retry transaction {\n\t${1}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "match", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "match", + "insertText": "match ", + "insertTextFormat": "Snippet" + }, + { + "label": "panic", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "panic", + "insertText": "panic ", + "insertTextFormat": "Snippet" + }, + { + "label": "stream<> streamName = new;", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "stream", + "insertText": "stream<${1}> ${2:streamName} = new;", + "insertTextFormat": "Snippet" + }, + { + "label": "return;", + "kind": "Snippet", + "detail": "Statement", + "sortText": "P", + "filterText": "return;", + "insertText": "return;", + "insertTextFormat": "Snippet" + }, + { + "label": "StrandData", + "kind": "Struct", + "detail": "Record", + "documentation": { + "left": "Describes Strand execution details for the runtime.\n" + }, + "sortText": "M", + "insertText": "StrandData", + "insertTextFormat": "Snippet" + }, + { + "label": "Thread", + "kind": "TypeParameter", + "detail": "Union", + "sortText": "N", + "insertText": "Thread", + "insertTextFormat": "Snippet" + }, + { + "label": "record", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "record", + "insertText": "record ", + "insertTextFormat": "Snippet" + }, + { + "label": "function", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "function", + "insertText": "function ", + "insertTextFormat": "Snippet" + }, + { + "label": "record {}", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "record", + "insertText": "record {${1}}", + "insertTextFormat": "Snippet" + }, + { + "label": "record {||}", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "record", + "insertText": "record {|${1}|}", + "insertTextFormat": "Snippet" + }, + { + "label": "distinct", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "distinct", + "insertText": "distinct", + "insertTextFormat": "Snippet" + }, + { + "label": "object constructor", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "object", + "insertText": "object {${1}}", + "insertTextFormat": "Snippet" + }, + { + "label": "true", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "true", + "insertText": "true", + "insertTextFormat": "Snippet" + }, + { + "label": "false", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "false", + "insertText": "false", + "insertTextFormat": "Snippet" + }, + { + "label": "map", + "kind": "Unit", + "detail": "type", + "sortText": "R", + "insertText": "map", + "insertTextFormat": "Snippet" + }, + { + "label": "object", + "kind": "Unit", + "detail": "type", + "sortText": "R", + "insertText": "object", + "insertTextFormat": "Snippet" + }, + { + "label": "stream", + "kind": "Unit", + "detail": "type", + "sortText": "R", + "insertText": "stream", + "insertTextFormat": "Snippet" + }, + { + "label": "table", + "kind": "Unit", + "detail": "type", + "sortText": "R", + "insertText": "table", + "insertTextFormat": "Snippet" + }, + { + "label": "transaction", + "kind": "Unit", + "detail": "type", + "sortText": "R", + "insertText": "transaction", + "insertTextFormat": "Snippet" + }, + { + "label": "worker", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "worker", + "insertText": "worker ${1:name} {\n\t${2}\n}", + "insertTextFormat": "Snippet" + }, + { + "label": "new", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "new", + "insertText": "new ", + "insertTextFormat": "Snippet" + }, + { + "label": "let", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "let", + "insertText": "let", + "insertTextFormat": "Snippet" + }, + { + "label": "typeof", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "typeof", + "insertText": "typeof ", + "insertTextFormat": "Snippet" + }, + { + "label": "trap", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "trap", + "insertText": "trap", + "insertTextFormat": "Snippet" + }, + { + "label": "client", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "client", + "insertText": "client ", + "insertTextFormat": "Snippet" + }, + { + "label": "error constructor", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "error", + "insertText": "error(\"${1}\")", + "insertTextFormat": "Snippet" + }, + { + "label": "base16", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "base16", + "insertText": "base16 `${1}`", + "insertTextFormat": "Snippet" + }, + { + "label": "base64", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "base64", + "insertText": "base64 `${1}`", + "insertTextFormat": "Snippet" + }, + { + "label": "object {}", + "kind": "Snippet", + "detail": "Snippet", + "sortText": "P", + "filterText": "object", + "insertText": "object {${1}}", + "insertTextFormat": "Snippet" + }, + { + "label": "test/project2", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "project2", + "insertText": "project2", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import test/project2;\n" + } + ] + }, + { + "label": "test/project1", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "project1", + "insertText": "project1", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import test/project1;\n" + } + ] + }, + { + "label": "test/local_project2", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "local_project2", + "insertText": "local_project2", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import test/local_project2;\n" + } + ] + }, + { + "label": "test/local_project1", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "local_project1", + "insertText": "local_project1", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import test/local_project1;\n" + } + ] + }, + { + "label": "ballerina/lang.runtime", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "runtime", + "insertText": "runtime", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/lang.runtime;\n" + } + ] + }, + { + "label": "ballerina/lang.value", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "value", + "insertText": "value", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/lang.value;\n" + } + ] + }, + { + "label": "ballerina/module1", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "module1", + "insertText": "module1", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/module1;\n" + } + ] + }, + { + "label": "ballerina/lang.array", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "array", + "insertText": "array", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/lang.array;\n" + } + ] + }, + { + "label": "ballerina/jballerina.java", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "java", + "insertText": "java", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/jballerina.java;\n" + } + ] + }, + { + "label": "ballerina/lang.test", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "test", + "insertText": "test", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/lang.test;\n" + } + ] + }, + { + "label": "null", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "null", + "insertText": "null", + "insertTextFormat": "Snippet" + }, + { + "label": "ballerina/lang.regexp", + "kind": "Module", + "detail": "Module", + "sortText": "R", + "filterText": "regexp", + "insertText": "regexp", + "insertTextFormat": "Snippet", + "additionalTextEdits": [ + { + "range": { + "start": { + "line": 1, + "character": 0 + }, + "end": { + "line": 1, + "character": 0 + } + }, + "newText": "import ballerina/lang.regexp;\n" + } + ] + }, + { + "label": "readonly", + "kind": "TypeParameter", + "detail": "Readonly", + "sortText": "N", + "insertText": "readonly", + "insertTextFormat": "Snippet" + }, + { + "label": "handle", + "kind": "TypeParameter", + "detail": "Handle", + "sortText": "N", + "insertText": "handle", + "insertTextFormat": "Snippet" + }, + { + "label": "never", + "kind": "TypeParameter", + "detail": "Never", + "sortText": "N", + "insertText": "never", + "insertTextFormat": "Snippet" + }, + { + "label": "json", + "kind": "TypeParameter", + "detail": "Json", + "sortText": "N", + "insertText": "json", + "insertTextFormat": "Snippet" + }, + { + "label": "anydata", + "kind": "TypeParameter", + "detail": "Anydata", + "sortText": "N", + "insertText": "anydata", + "insertTextFormat": "Snippet" + }, + { + "label": "any", + "kind": "TypeParameter", + "detail": "Any", + "sortText": "N", + "insertText": "any", + "insertTextFormat": "Snippet" + }, + { + "label": "byte", + "kind": "TypeParameter", + "detail": "Byte", + "sortText": "N", + "insertText": "byte", + "insertTextFormat": "Snippet" + }, + { + "label": "service", + "kind": "Keyword", + "detail": "Keyword", + "sortText": "Q", + "filterText": "service", + "insertText": "service", + "insertTextFormat": "Snippet" + }, + { + "label": "decimal", + "kind": "TypeParameter", + "detail": "Decimal", + "sortText": "N", + "insertText": "decimal", + "insertTextFormat": "Snippet" + }, + { + "label": "error", + "kind": "Event", + "detail": "Error", + "sortText": "L", + "insertText": "error", + "insertTextFormat": "Snippet" + }, + { + "label": "xml", + "kind": "TypeParameter", + "detail": "Xml", + "sortText": "N", + "insertText": "xml", + "insertTextFormat": "Snippet" + }, + { + "label": "boolean", + "kind": "TypeParameter", + "detail": "Boolean", + "sortText": "N", + "insertText": "boolean", + "insertTextFormat": "Snippet" + }, + { + "label": "future", + "kind": "TypeParameter", + "detail": "Future", + "sortText": "N", + "insertText": "future", + "insertTextFormat": "Snippet" + }, + { + "label": "int", + "kind": "TypeParameter", + "detail": "Int", + "sortText": "N", + "insertText": "int", + "insertTextFormat": "Snippet" + }, + { + "label": "float", + "kind": "TypeParameter", + "detail": "Float", + "sortText": "N", + "insertText": "float", + "insertTextFormat": "Snippet" + }, + { + "label": "function", + "kind": "TypeParameter", + "detail": "Function", + "sortText": "N", + "insertText": "function", + "insertTextFormat": "Snippet" + }, + { + "label": "string", + "kind": "TypeParameter", + "detail": "String", + "sortText": "N", + "insertText": "string", + "insertTextFormat": "Snippet" + }, + { + "label": "typedesc", + "kind": "TypeParameter", + "detail": "Typedesc", + "sortText": "N", + "insertText": "typedesc", + "insertTextFormat": "Snippet" + }, + { + "label": "testFunction()", + "kind": "Function", + "detail": "()", + "documentation": { + "right": { + "kind": "markdown", + "value": "**Package:** _._ \n \n \n" + } + }, + "sortText": "C", + "filterText": "testFunction", + "insertText": "testFunction()", + "insertTextFormat": "Snippet" + } + ] +} diff --git a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/source/source15.bal b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/source/source15.bal new file mode 100644 index 000000000000..8f8a429c1f6a --- /dev/null +++ b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/source/source15.bal @@ -0,0 +1,5 @@ +// License header + +function testFunction() { + module1 +} From 97d4aef9f560806d770e140c287c128e465025c7 Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Mon, 17 Jul 2023 16:27:37 +0530 Subject: [PATCH 5/7] Fix failing tests --- .../config/client_remote_action_config1.json | 41 +++++++------- .../config/remote_action_config8.json | 41 +++++++------- .../config/annotationDeclAnnotation1.json | 41 +++++++------- .../config/annotationDeclAnnotation2.json | 41 +++++++------- .../config/anonFuncExprAnnotation1.json | 41 +++++++------- .../config/anonFuncExprAnnotation2.json | 41 +++++++------- .../config/enumMemberAnnotation1.json | 41 +++++++------- .../config/enumMemberAnnotation2.json | 41 +++++++------- .../config/externalFunctionAnnotation1.json | 41 +++++++------- .../config/externalFunctionAnnotation2.json | 41 +++++++------- .../config/functionAnnotation2.json | 41 +++++++------- .../config/letVarAnnotation1.json | 41 +++++++------- .../config/letVarAnnotation2.json | 41 +++++++------- .../config/listenerAnnotation1.json | 41 +++++++------- .../config/listenerAnnotation2.json | 41 +++++++------- .../config/localVarAnnotation1.json | 41 +++++++------- .../config/localVarAnnotation2.json | 41 +++++++------- .../config/methodDeclAnnotation1.json | 41 +++++++------- .../config/methodDeclAnnotation2.json | 41 +++++++------- .../config/methodDefnAnnotation1.json | 41 +++++++------- .../config/methodDefnAnnotation2.json | 41 +++++++------- .../config/moduleClassDefAnnotation1.json | 41 +++++++------- .../config/moduleClassDefAnnotation2.json | 41 +++++++------- .../config/moduleConstAnnotation1.json | 41 +++++++------- .../config/moduleConstAnnotation2.json | 41 +++++++------- .../config/moduleEnumAnnotation1.json | 41 +++++++------- .../config/moduleEnumAnnotation2.json | 41 +++++++------- .../config/moduleTypeDefAnnotation1.json | 41 +++++++------- .../config/moduleTypeDefAnnotation2.json | 41 +++++++------- .../config/moduleVarAnnotation1.json | 41 +++++++------- .../config/moduleVarAnnotation2.json | 41 +++++++------- .../config/objectFieldAnnotation1.json | 41 +++++++------- .../config/objectFieldAnnotation2.json | 41 +++++++------- .../config/objectFieldDescAnnotation1.json | 41 +++++++------- .../config/objectFieldDescAnnotation2.json | 41 +++++++------- .../config/paramAnnotation1.json | 41 +++++++------- .../config/paramAnnotation2.json | 41 +++++++------- .../config/paramAnnotation5.json | 41 +++++++------- .../config/paramAnnotation7.json | 41 +++++++------- .../config/recordFieldAnnotation1.json | 41 +++++++------- .../config/recordFieldAnnotation2.json | 41 +++++++------- .../config/resourceAnnotation1.json | 41 +++++++------- .../config/resourceAnnotation2.json | 41 +++++++------- .../config/returnTypeDescAnnotation1.json | 41 +++++++------- .../config/returnTypeDescAnnotation2.json | 41 +++++++------- .../config/serviceAnnotation1.json | 41 +++++++------- .../config/serviceAnnotation2.json | 41 +++++++------- .../config/startActionAnnotation1.json | 41 +++++++------- .../config/startActionAnnotation2.json | 41 +++++++------- .../config/typeCastExprAnnotation1.json | 41 +++++++------- .../config/typeCastExprAnnotation2.json | 41 +++++++------- .../config/workerDeclAnnotation1.json | 41 +++++++------- .../config/workerDeclAnnotation2.json | 41 +++++++------- .../annotation_decl/config/config1.json | 41 +++++++------- .../annotation_decl/config/config2.json | 41 +++++++------- .../annotation_decl/config/config21.json | 41 +++++++------- .../completion/class_def/config/config1.json | 40 +++++++------- .../completion/class_def/config/config10.json | 41 +++++++------- .../completion/class_def/config/config16.json | 40 +++++++------- .../completion/class_def/config/config17.json | 40 +++++++------- .../completion/class_def/config/config18.json | 41 +++++++------- .../completion/class_def/config/config19.json | 41 +++++++------- .../completion/class_def/config/config2.json | 40 +++++++------- .../completion/class_def/config/config25.json | 41 +++++++------- .../completion/class_def/config/config26.json | 41 +++++++------- .../completion/class_def/config/config28.json | 41 +++++++------- .../completion/class_def/config/config29.json | 41 +++++++------- .../completion/class_def/config/config3.json | 40 +++++++------- .../completion/class_def/config/config30.json | 41 +++++++------- .../completion/class_def/config/config4.json | 40 +++++++------- .../completion/class_def/config/config6.json | 41 +++++++------- .../completion/class_def/config/config8.json | 40 +++++++------- .../config/comment_config3.json | 45 ++++++++-------- .../config/comment_config4.json | 45 ++++++++-------- .../config/comment_config5.json | 45 ++++++++-------- .../enum_decl_ctx/config/config5.json | 41 +++++++------- .../config/annotation_access_ctx_config1.json | 41 +++++++------- .../annotation_access_ctx_config13.json | 41 +++++++------- .../config/annotation_access_ctx_config5.json | 41 +++++++------- .../config/anon_func_expr_ctx_config1.json | 41 +++++++------- .../config/anon_func_expr_ctx_config10.json | 41 +++++++------- .../config/anon_func_expr_ctx_config2.json | 41 +++++++------- .../config/anon_func_expr_ctx_config5.json | 41 +++++++------- .../config/anon_func_expr_ctx_config7.json | 41 +++++++------- .../config/anon_func_expr_ctx_config8.json | 41 +++++++------- .../config/check_expression_ctx_config1.json | 41 +++++++------- .../config/check_expression_ctx_config2.json | 41 +++++++------- .../config/conditional_expr_ctx_config1.json | 41 +++++++------- .../config/conditional_expr_ctx_config10.json | 41 +++++++------- .../config/conditional_expr_ctx_config2.json | 41 +++++++------- .../config/conditional_expr_ctx_config3.json | 41 +++++++------- .../config/conditional_expr_ctx_config4.json | 41 +++++++------- .../config/conditional_expr_ctx_config8.json | 41 +++++++------- .../error_constructor_expr_ctx_config1.json | 41 +++++++------- .../error_constructor_expr_ctx_config2.json | 41 +++++++------- .../error_constructor_expr_ctx_config3.json | 41 +++++++------- .../error_constructor_expr_ctx_config4.json | 41 +++++++------- .../error_constructor_expr_ctx_config7.json | 41 +++++++------- .../error_constructor_expr_ctx_config8.json | 41 +++++++------- .../config/fail_expr_ctx_config1.json | 41 +++++++------- .../config/fail_expr_ctx_config2.json | 41 +++++++------- .../function_call_expression_ctx_config1.json | 41 +++++++------- .../function_call_expression_ctx_config2.json | 41 +++++++------- .../function_call_expression_ctx_config3.json | 41 +++++++------- .../function_call_expression_ctx_config4.json | 41 +++++++------- .../function_call_expression_ctx_config7.json | 41 +++++++------- .../function_call_expression_ctx_config8.json | 41 +++++++------- .../config/mapping_expr_ctx_config1.json | 40 +++++++------- .../config/mapping_expr_ctx_config2.json | 40 +++++++------- .../config/mapping_expr_ctx_config5.json | 40 +++++++------- .../config/mapping_expr_ctx_config55.json | 40 +++++++------- .../config/mapping_expr_ctx_config56.json | 40 +++++++------- .../config/mapping_expr_ctx_config6.json | 40 +++++++------- .../config/mapping_expr_ctx_config7.json | 40 +++++++------- .../member_access_expr_ctx_config1.json | 41 +++++++------- .../member_access_expr_ctx_config2.json | 41 +++++++------- .../method_call_expression_ctx_config1.json | 41 +++++++------- .../method_call_expression_ctx_config2.json | 41 +++++++------- .../method_call_expression_ctx_config5.json | 41 +++++++------- .../method_call_expression_ctx_config6.json | 41 +++++++------- .../config/module_ctx_config1.json | 41 +++++++------- .../config/module_ctx_config2.json | 41 +++++++------- .../config/module_ctx_config3.json | 41 +++++++------- .../config/module_ctx_config4.json | 41 +++++++------- .../config/module_ctx_config5.json | 41 +++++++------- .../config/new_expr_ctx_config10.json | 41 +++++++------- .../config/new_expr_ctx_config10a.json | 41 +++++++------- .../config/new_expr_ctx_config11.json | 41 +++++++------- .../config/new_expr_ctx_config12.json | 41 +++++++------- .../config/new_expr_ctx_config14.json | 41 +++++++------- .../config/new_expr_ctx_config15.json | 41 +++++++------- .../config/new_expr_ctx_config17.json | 41 +++++++------- .../config/new_expr_ctx_config18.json | 41 +++++++------- .../config/new_expr_ctx_config19.json | 41 +++++++------- .../config/new_expr_ctx_config20.json | 41 +++++++------- .../config/new_expr_ctx_config21.json | 41 +++++++------- .../config/new_expr_ctx_config5.json | 41 +++++++------- .../config/new_expr_ctx_config6.json | 41 +++++++------- .../config/new_expr_ctx_config7.json | 41 +++++++------- .../config/new_expr_ctx_config8.json | 41 +++++++------- .../config/new_expr_ctx_config9.json | 41 +++++++------- .../object_constructor_expr_ctx_config13.json | 41 +++++++------- .../object_constructor_expr_ctx_config15.json | 41 +++++++------- .../object_constructor_expr_ctx_config2.json | 41 +++++++------- .../object_constructor_expr_ctx_config4.json | 41 +++++++------- .../object_constructor_expr_ctx_config5.json | 41 +++++++------- .../object_constructor_expr_ctx_config7.json | 41 +++++++------- .../object_constructor_expr_ctx_config9.json | 41 +++++++------- .../config/trap_expression_ctx_config1.json | 41 +++++++------- .../config/trap_expression_ctx_config2.json | 41 +++++++------- .../type_test_expression_ctx_config1.json | 41 +++++++------- .../type_test_expression_ctx_config2.json | 41 +++++++------- .../type_test_expression_ctx_config5.json | 41 +++++++------- .../type_test_expression_ctx_config8.json | 41 +++++++------- .../type_test_expression_ctx_config9.json | 53 ++++++++++--------- .../config/typecast_expr_ctx_config1.json | 41 +++++++------- .../config/typecast_expr_ctx_config2.json | 41 +++++++------- .../config/typecast_expr_ctx_config4.json | 41 +++++++------- .../config/typecast_expr_ctx_config5.json | 41 +++++++------- .../config/typecast_expr_ctx_config6.json | 41 +++++++------- .../config/typeof_expression_ctx_config1.json | 41 +++++++------- .../config/typeof_expression_ctx_config2.json | 41 +++++++------- ...xml_attribute_access_expr_ctx_config1.json | 40 +++++++------- ...xml_attribute_access_expr_ctx_config2.json | 40 +++++++------- .../config/field_access_ctx_config21.json | 41 +++++++------- .../config/field_access_ctx_config38.json | 40 +++++++------- .../config/field_access_ctx_config39.json | 40 +++++++------- .../config/field_access_ctx_config40.json | 40 +++++++------- .../config/field_access_ctx_config41.json | 40 +++++++------- .../function_body/config/config1.json | 41 +++++++------- .../function_body/config/config12.json | 41 +++++++------- .../function_body/config/config13.json | 41 +++++++------- .../function_body/config/config2.json | 41 +++++++------- .../function_body/config/config3.json | 41 +++++++------- .../function_body/config/config4.json | 41 +++++++------- .../function_body/config/config5.json | 41 +++++++------- .../function_body/config/config6.json | 40 +++++++------- .../function_body/config/config7.json | 41 +++++++------- .../function_def/config/config10.json | 41 +++++++------- .../function_def/config/config11.json | 41 +++++++------- .../function_def/config/config14.json | 41 +++++++------- .../function_def/config/config15.json | 41 +++++++------- .../function_def/config/config18.json | 41 +++++++------- .../function_def/config/config19.json | 41 +++++++------- .../function_def/config/config23.json | 53 ++++++++++--------- .../function_def/config/config3.json | 41 +++++++------- .../function_def/config/config4.json | 41 +++++++------- .../function_def/config/config9.json | 41 +++++++------- .../import_decl/config/config11.json | 53 ++++++++++--------- .../import_decl/config/config12.json | 53 ++++++++++--------- .../import_decl/config/config21.json | 53 ++++++++++--------- .../listener_decl/config/config1.json | 40 +++++++------- .../listener_decl/config/config11.json | 41 +++++++------- .../listener_decl/config/config12.json | 41 +++++++------- .../listener_decl/config/config2.json | 40 +++++++------- .../listener_decl/config/config3b.json | 40 +++++++------- .../listener_decl/config/config3c.json | 40 +++++++------- .../listener_decl/config/config4.json | 40 +++++++------- .../listener_decl/config/config5.json | 40 +++++++------- .../listener_decl/config/config7.json | 40 +++++++------- .../listener_decl/config/config8.json | 40 +++++++------- .../listener_decl/config/config9.json | 40 +++++++------- .../module_const_context/config/config1.json | 41 +++++++------- .../module_const_context/config/config10.json | 40 +++++++------- .../module_const_context/config/config2.json | 40 +++++++------- .../module_const_context/config/config4.json | 40 +++++++------- .../module_const_context/config/config6.json | 40 +++++++------- .../module_const_context/config/config7.json | 40 +++++++------- .../module_part_context/config/config10.json | 41 +++++++------- .../module_part_context/config/config14.json | 44 +++++++-------- .../module_part_context/config/config15.json | 40 +++++++------- .../module_part_context/config/config16.json | 48 ++++++++--------- .../module_part_context/config/config6.json | 41 +++++++------- .../module_part_context/config/config8.json | 41 +++++++------- .../module_part_context/config/config9.json | 41 +++++++------- ...le_level_after_annotation_decl_config.json | 41 +++++++------- .../module_level_after_class_defn_config.json | 41 +++++++------- ...dule_level_after_configurable_config1.json | 40 +++++++------- .../module_level_after_const_decl_config.json | 41 +++++++------- .../module_level_after_enum_decl_config.json | 41 +++++++------- ...dule_level_after_funciton_defn_config.json | 41 +++++++------- ...module_level_after_import_decl_config.json | 41 +++++++------- ...dule_level_after_listener_decl_config.json | 41 +++++++------- ...odule_level_after_service_decl_config.json | 41 +++++++------- .../module_level_after_type_defn_config.json | 41 +++++++------- .../module_level_after_var_decl_config.json | 41 +++++++------- .../module_level_after_xmlns_decl_config.json | 41 +++++++------- ...e_level_before_annotation_decl_config.json | 41 +++++++------- ...module_level_before_class_defn_config.json | 41 +++++++------- ...module_level_before_const_decl_config.json | 41 +++++++------- .../module_level_before_enum_decl_config.json | 41 +++++++------- ...ule_level_before_function_defn_config.json | 41 +++++++------- ...odule_level_before_import_decl_config.json | 41 +++++++------- ...ule_level_before_listener_decl_config.json | 41 +++++++------- ...dule_level_before_service_decl_config.json | 41 +++++++------- .../module_level_before_type_defn_config.json | 41 +++++++------- .../module_level_before_var_decl_config.json | 41 +++++++------- ...module_level_before_xmlns_decl_config.json | 41 +++++++------- .../module_var_context/config/config1.json | 41 +++++++------- .../module_var_context/config/config16.json | 40 +++++++------- .../module_var_context/config/config18.json | 40 +++++++------- .../module_var_context/config/config2.json | 41 +++++++------- .../module_var_context/config/config5.json | 41 +++++++------- .../module_var_context/config/config6.json | 41 +++++++------- .../module_var_context/config/config7.json | 41 +++++++------- .../module_var_context/config/config9.json | 41 +++++++------- .../config/config1.json | 41 +++++++------- .../config/config2.json | 41 +++++++------- .../config/config8.json | 41 +++++++------- .../config/performance_completion.json | 41 +++++++------- .../config/query_expr_ctx_config14.json | 40 +++++++------- .../config/query_expr_ctx_config22.json | 41 +++++++------- .../config/query_expr_ctx_config23.json | 41 +++++++------- .../config/query_expr_ctx_config24.json | 41 +++++++------- .../config/query_expr_ctx_config25.json | 41 +++++++------- .../config/query_expr_ctx_config26.json | 41 +++++++------- .../config/query_expr_ctx_config7.json | 40 +++++++------- .../config/query_expr_ctx_config8.json | 40 +++++++------- .../query_expr_ctx_join_clause_config1.json | 41 +++++++------- .../query_expr_ctx_join_clause_config12.json | 41 +++++++------- .../query_expr_ctx_join_clause_config2.json | 41 +++++++------- .../query_expr_ctx_join_clause_config5.json | 41 +++++++------- .../query_expr_ctx_let_clause_config1.json | 41 +++++++------- .../query_expr_ctx_let_clause_config10.json | 41 +++++++------- .../query_expr_ctx_let_clause_config11.json | 41 +++++++------- .../query_expr_ctx_let_clause_config2.json | 41 +++++++------- .../query_expr_ctx_let_clause_config4.json | 41 +++++++------- .../query_expr_ctx_let_clause_config5.json | 41 +++++++------- .../query_expr_ctx_let_clause_config6.json | 41 +++++++------- .../query_expr_ctx_let_clause_config7.json | 41 +++++++------- .../query_expr_ctx_let_clause_config8.json | 41 +++++++------- .../query_expr_ctx_let_clause_config9.json | 41 +++++++------- .../query_expr_ctx_limit_clause_config1.json | 41 +++++++------- .../query_expr_ctx_limit_clause_config2.json | 41 +++++++------- .../query_expr_ctx_limit_clause_config4.json | 41 +++++++------- ...ry_expr_ctx_onconflict_clause_config2.json | 41 +++++++------- ...query_expr_ctx_orderby_clause_config1.json | 41 +++++++------- ...query_expr_ctx_orderby_clause_config2.json | 41 +++++++------- .../query_expr_ctx_select_clause_config1.json | 41 +++++++------- .../query_expr_ctx_select_clause_config2.json | 41 +++++++------- .../record_type_desc/config/config1.json | 41 +++++++------- .../record_type_desc/config/config10.json | 41 +++++++------- .../record_type_desc/config/config2.json | 41 +++++++------- .../record_type_desc/config/config5.json | 41 +++++++------- .../record_type_desc/config/config6.json | 41 +++++++------- .../record_type_desc/config/config7.json | 41 +++++++------- .../record_type_desc/config/config8.json | 41 +++++++------- .../record_type_desc/config/config9.json | 41 +++++++------- .../service_body/config/config4.json | 41 +++++++------- .../service_body/config/config5.json | 40 +++++++------- .../service_decl/config/config1.json | 41 +++++++------- .../service_decl/config/config10.json | 40 +++++++------- .../service_decl/config/config11.json | 40 +++++++------- .../service_decl/config/config12.json | 41 +++++++------- .../service_decl/config/config14.json | 40 +++++++------- .../service_decl/config/config15.json | 40 +++++++------- .../service_decl/config/config16.json | 41 +++++++------- .../service_decl/config/config17.json | 41 +++++++------- .../service_decl/config/config18.json | 41 +++++++------- .../service_decl/config/config2.json | 41 +++++++------- .../service_decl/config/config3.json | 41 +++++++------- .../service_decl/config/config4.json | 41 +++++++------- .../service_decl/config/config6c.json | 41 +++++++------- .../service_decl/config/config6d.json | 41 +++++++------- .../service_decl/config/config6g.json | 41 +++++++------- .../service_decl/config/config7.json | 41 +++++++------- .../config/assignment_stmt_ctx_config1.json | 41 +++++++------- .../config/assignment_stmt_ctx_config2.json | 41 +++++++------- .../config/assignment_stmt_ctx_config3.json | 41 +++++++------- .../config/assignment_stmt_ctx_config8.json | 41 +++++++------- .../config/assignment_stmt_ctx_config9.json | 40 +++++++------- .../config/do_stmt_ctx_config1.json | 41 +++++++------- .../config/match_stmt_ctx_config14.json | 41 +++++++------- .../config/match_stmt_ctx_config15.json | 41 +++++++------- .../config/match_stmt_ctx_config16.json | 41 +++++++------- .../config/match_stmt_ctx_config2.json | 41 +++++++------- .../config/match_stmt_ctx_config20.json | 41 +++++++------- .../config/match_stmt_ctx_config21.json | 41 +++++++------- .../config/match_stmt_ctx_config22.json | 41 +++++++------- .../config/match_stmt_ctx_config4.json | 41 +++++++------- .../config/match_stmt_ctx_config5.json | 41 +++++++------- .../config/onfail_clause_ctx_config1.json | 41 +++++++------- .../config/onfail_clause_ctx_config1a.json | 41 +++++++------- .../config/onfail_clause_ctx_config2.json | 41 +++++++------- .../config/onfail_clause_ctx_config2a.json | 41 +++++++------- .../config/onfail_clause_ctx_config2c.json | 41 +++++++------- .../config/onfail_clause_ctx_config3.json | 41 +++++++------- .../config/onfail_clause_ctx_config4.json | 41 +++++++------- .../config/onfail_clause_ctx_config5.json | 41 +++++++------- .../config/onfail_clause_ctx_config5a.json | 41 +++++++------- .../config/onfail_clause_ctx_config6.json | 43 +++++++-------- .../config/onfail_clause_ctx_config6a.json | 43 +++++++-------- .../config/return_stmt_ctx_config1.json | 41 +++++++------- .../config/return_stmt_ctx_config12.json | 41 +++++++------- .../config/return_stmt_ctx_config13.json | 41 +++++++------- .../config/return_stmt_ctx_config2.json | 41 +++++++------- .../config/return_stmt_ctx_config3.json | 41 +++++++------- .../config/return_stmt_ctx_config4.json | 41 +++++++------- .../config/return_stmt_ctx_config5.json | 41 +++++++------- .../config/transaction_config1.json | 41 +++++++------- .../config/transaction_config2.json | 41 +++++++------- .../config/transaction_config3.json | 41 +++++++------- .../config/wait_action_ctx_config11.json | 41 +++++++------- .../config/wait_action_ctx_config12.json | 41 +++++++------- .../config/xmlns_ctx_config3.json | 41 +++++++------- .../config/xmlns_ctx_config4.json | 41 +++++++------- .../string_template_expression_config4.json | 41 +++++++------- .../string_template_expression_config5.json | 41 +++++++------- .../xml_template_expression_config1.json | 41 +++++++------- .../xml_template_expression_config2.json | 41 +++++++------- .../completion/type_def/config/config1.json | 41 +++++++------- .../completion/type_def/config/config2.json | 41 +++++++------- .../config/array_typedesc5.json | 41 +++++++------- .../config/distinct_typedesc1.json | 41 +++++++------- .../config/distinct_typedesc2.json | 41 +++++++------- .../config/error_typedesc1.json | 41 +++++++------- .../config/error_typedesc2.json | 41 +++++++------- .../config/error_typedesc5.json | 41 +++++++------- .../config/function_typedesc1.json | 41 +++++++------- .../config/function_typedesc12.json | 41 +++++++------- .../config/function_typedesc15.json | 41 +++++++------- .../config/function_typedesc15a.json | 40 +++++++------- .../config/function_typedesc15b.json | 40 +++++++------- .../config/function_typedesc3.json | 41 +++++++------- .../config/function_typedesc4.json | 41 +++++++------- .../config/function_typedesc5.json | 41 +++++++------- .../config/function_typedesc8.json | 41 +++++++------- .../config/function_typedesc9.json | 41 +++++++------- .../config/future_typedesc1.json | 41 +++++++------- .../config/intersection_type_typedesc1.json | 41 +++++++------- .../config/intersection_type_typedesc2.json | 41 +++++++------- .../config/map_typedesc1.json | 41 +++++++------- .../config/map_typedesc2.json | 41 +++++++------- .../config/object_typedesc11.json | 41 +++++++------- .../config/object_typedesc3.json | 41 +++++++------- .../config/object_typedesc4.json | 41 +++++++------- .../config/object_typedesc5.json | 41 +++++++------- .../config/object_typedesc6.json | 41 +++++++------- .../config/object_typedesc7.json | 41 +++++++------- .../config/object_typedesc8.json | 41 +++++++------- .../config/stream_typedesc1.json | 41 +++++++------- .../config/stream_typedesc4.json | 41 +++++++------- .../config/table_typedesc1.json | 41 +++++++------- .../config/table_typedesc10.json | 41 +++++++------- .../config/table_typedesc2.json | 41 +++++++------- .../config/tuple_typedesc1.json | 41 +++++++------- .../config/tuple_typedesc2.json | 41 +++++++------- .../config/tuple_typedesc5.json | 41 +++++++------- .../config/union_typedesc1.json | 41 +++++++------- .../config/union_typedesc2.json | 41 +++++++------- .../config/project_var_def_ctx_config1.json | 45 ++++++++-------- .../config/project_var_def_ctx_config2.json | 45 ++++++++-------- .../config/var_def_ctx_config1.json | 41 +++++++------- .../config/var_def_ctx_config2.json | 41 +++++++------- .../config/var_def_ctx_config7.json | 40 +++++++------- .../config/var_def_ctx_config8.json | 41 +++++++------- .../config/var_def_ctx_config9.json | 41 +++++++------- 397 files changed, 8332 insertions(+), 7988 deletions(-) diff --git a/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/client_remote_action_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/client_remote_action_config1.json index 45d427d7a780..5cbef70cce12 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/client_remote_action_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/client_remote_action_config1.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "action_node_context/source/client_remote_action_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -487,11 +488,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -511,11 +512,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -535,11 +536,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -559,11 +560,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -583,11 +584,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/remote_action_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/remote_action_config8.json index 5ab0b9f09361..be2b6c10f3be 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/remote_action_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/action_node_context/config/remote_action_config8.json @@ -4,6 +4,7 @@ "character": 18 }, "source": "action_node_context/source/remote_action_source8.bal", + "description": "", "items": [ { "label": "test/project2", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -65,11 +66,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -89,11 +90,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation1.json index 2966aad28495..ca91de50f91a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/annotationDeclAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation2.json index beea3355fbe7..5b1d98d25976 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/annotationDeclAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/annotationDeclAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation1.json index aa33188e9ee0..bd0b3ddce555 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation1.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "annotation_ctx/source/anonFuncExprAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation2.json index 942d6175ed25..fac37810333c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/anonFuncExprAnnotation2.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "annotation_ctx/source/anonFuncExprAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation1.json index 007d98df4829..26d0be9f3337 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/enumMemberAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation2.json index 17cf14adfaf0..80dd2c856e42 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/enumMemberAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/enumMemberAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation1.json index 0736e7dd16c2..611cad7857fa 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation1.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "annotation_ctx/source/externalFunctionAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -204,11 +205,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -228,11 +229,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -252,11 +253,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -276,11 +277,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -300,11 +301,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation2.json index c61ecf57df3d..e23f771bff30 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/externalFunctionAnnotation2.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "annotation_ctx/source/externalFunctionAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -204,11 +205,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -228,11 +229,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -252,11 +253,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -276,11 +277,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -300,11 +301,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/functionAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/functionAnnotation2.json index 0516dc04ec99..b0d0a003fc1b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/functionAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/functionAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/functionAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation1.json index f392fb86e6c3..7c783a67b3c8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation1.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "annotation_ctx/source/letVarAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation2.json index c10b62e94e36..fd7d93a7acda 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/letVarAnnotation2.json @@ -4,6 +4,7 @@ "character": 18 }, "source": "annotation_ctx/source/letVarAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation1.json index 32f7f597d4eb..099028d158c1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/listenerAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation2.json index a0df7c8cd302..713838784e32 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/listenerAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/listenerAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -204,11 +205,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -228,11 +229,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -252,11 +253,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -276,11 +277,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -300,11 +301,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation1.json index 62babb8a34a6..72387be7c66d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/localVarAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation2.json index 9180f828f0ef..605f629a769c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/localVarAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/localVarAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation1.json index 4cbf52c95304..6d3c55f6b341 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/methodDeclAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation2.json index a3c84ab95ca3..5cd9d0bc947e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDeclAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/methodDeclAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation1.json index 824ee47922f1..2f560381ac62 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation1.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "annotation_ctx/source/methodDefnAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation2.json index 2027a51daef1..6607b22edc2b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/methodDefnAnnotation2.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "annotation_ctx/source/methodDefnAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation1.json index 2126e12341ea..ad825727f77c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/moduleClassDefAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation2.json index cc8f6560f31e..ef8d80b2d397 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleClassDefAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/moduleClassDefAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation1.json index b1bd8ef4bd45..6a5dc1ccd02a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/moduleConstAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation2.json index 83ff54145dd8..ebf5e7f1dd25 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleConstAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/moduleConstAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation1.json index 6ca40c7afe55..c16e793b2d0d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/moduleEnumAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation2.json index 680251e2b906..4a01ce3d7085 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleEnumAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/moduleEnumAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation1.json index 276d2957344f..111f8e44a980 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/moduleTypeDefAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation2.json index d45265f305b2..0842f50f4701 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleTypeDefAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/moduleTypeDefAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation1.json index 3b6fa88d5eb1..005d80ce79b2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/moduleVarAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation2.json index b31e300a5934..382a24f0ea5b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/moduleVarAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/moduleVarAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation1.json index 561b9e3e32a7..b182e0f5923c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation1.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "annotation_ctx/source/objectFieldAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation2.json index 0bd8a6573a9a..8b7ca9a3d7ec 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldAnnotation2.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "annotation_ctx/source/objectFieldAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation1.json index 74a6dcc344e6..9c2b16b8024f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/objectFieldDescAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation2.json index b121b7c66fce..f92594fa415b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/objectFieldDescAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/objectFieldDescAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation1.json index 4f76ff97bab3..e22dbd11bbcf 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation1.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "annotation_ctx/source/paramAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -249,11 +250,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -273,11 +274,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -297,11 +298,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -321,11 +322,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -345,11 +346,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation2.json index e7acd5f8e8bd..12587f1c4a79 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation2.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "annotation_ctx/source/paramAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -249,11 +250,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -273,11 +274,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -297,11 +298,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -321,11 +322,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -345,11 +346,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation5.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation5.json index 37a345bc13e5..b564f491e866 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation5.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "annotation_ctx/source/paramAnnotation5.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -249,11 +250,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -273,11 +274,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -297,11 +298,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -321,11 +322,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -345,11 +346,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation7.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation7.json index 3c3faa242e0a..9377910c6c2f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/paramAnnotation7.json @@ -4,6 +4,7 @@ "character": 34 }, "source": "annotation_ctx/source/paramAnnotation7.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -249,11 +250,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -273,11 +274,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -297,11 +298,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -321,11 +322,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -345,11 +346,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation1.json index 391769a18129..c2065cbb185f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/recordFieldAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation2.json index dca6b6aafcc8..5ab7dcd3cb9e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/recordFieldAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/recordFieldAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation1.json index 7d04881e0289..174fd807541d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/resourceAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation2.json index ae1c9a564085..a9d97af88a05 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/resourceAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/resourceAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation1.json index 4e7649f9b2c8..b4ba3fdc61ba 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation1.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "annotation_ctx/source/returnTypeDescAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation2.json index c48063382340..360974ad8d53 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/returnTypeDescAnnotation2.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "annotation_ctx/source/returnTypeDescAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation1.json index 1f1be50be06c..a96fe4e8919b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation1.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "annotation_ctx/source/serviceAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation2.json index fe313509d000..fa445e8074fb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/serviceAnnotation2.json @@ -4,6 +4,7 @@ "character": 2 }, "source": "annotation_ctx/source/serviceAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation1.json index 0454eeacca7d..eaf621f46a1f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation1.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "annotation_ctx/source/startActionAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation2.json index d00350b7ce99..b71fc0874085 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/startActionAnnotation2.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "annotation_ctx/source/startActionAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation1.json index 79277da254e8..d1db67490b33 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation1.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "annotation_ctx/source/typeCastExprAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation2.json index 64f46b810b22..f30ffa375cff 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/typeCastExprAnnotation2.json @@ -4,6 +4,7 @@ "character": 18 }, "source": "annotation_ctx/source/typeCastExprAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation1.json index bdef377a8b89..ed4c5d941759 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation1.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "annotation_ctx/source/workerDeclAnnotation1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation2.json index 42bf92fb0a31..bac02a34004a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_ctx/config/workerDeclAnnotation2.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "annotation_ctx/source/workerDeclAnnotation2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config1.json index 04e6fda46681..216b34b38ba3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config1.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "annotation_decl/source/source1.bal", + "description": "", "items": [ { "label": "MapType", @@ -61,11 +62,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -85,11 +86,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -239,11 +240,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -263,11 +264,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -287,11 +288,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -311,11 +312,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -335,11 +336,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config2.json index 0a61545c2882..f782f46c9952 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config2.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "annotation_decl/source/source2.bal", + "description": "", "items": [ { "label": "MapType", @@ -61,11 +62,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -85,11 +86,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -239,11 +240,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -263,11 +264,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -287,11 +288,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -311,11 +312,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -335,11 +336,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config21.json b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config21.json index e40966d34b62..7ac0a361c463 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/annotation_decl/config/config21.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "annotation_decl/source/source21.bal", + "description": "", "items": [ { "label": "type", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -659,11 +660,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config1.json index 991ae259c952..cd5cdc2c0f0b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config1.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config10.json index 7432fe32b535..e80b22dcbd3c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config10.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "class_def/source/source10.bal", + "description": "", "items": [ { "label": "testClass", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config16.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config16.json index 81923d60a3ea..e2a1565e0003 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config16.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config16.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -549,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config17.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config17.json index ffd7718e020f..71b9a30651ca 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config17.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config17.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config18.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config18.json index 173121e5a0b4..86bcd3c4b5de 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config18.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config18.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "class_def/source/source18.bal", + "description": "", "items": [ { "label": "testClass", @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -154,11 +155,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config19.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config19.json index 22ec8171d771..16ebf6f52591 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config19.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config19.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "class_def/source/source19.bal", + "description": "", "items": [ { "label": "testClass", @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -154,11 +155,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config2.json index a4b8e51ae332..68fa6b53ac35 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config2.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config25.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config25.json index 88efa4a8b4cf..a4a680a92096 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config25.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config25.json @@ -4,6 +4,7 @@ "character": 42 }, "source": "class_def/source/source25.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -435,11 +436,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -507,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config26.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config26.json index 188c10e8905a..26b7f505ec62 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config26.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config26.json @@ -4,6 +4,7 @@ "character": 46 }, "source": "class_def/source/source26.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -193,11 +194,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -217,11 +218,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -241,11 +242,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -265,11 +266,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -289,11 +290,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config28.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config28.json index f113027e91fe..d7f170fec847 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config28.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config28.json @@ -4,6 +4,7 @@ "character": 48 }, "source": "class_def/source/source28.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -435,11 +436,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -507,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config29.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config29.json index 9d488445d108..9a231f1b5cfb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config29.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config29.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "class_def/source/source29.bal", + "description": "", "items": [ { "label": "StrandData", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config3.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config3.json index 55d98f77b489..c0cad6a09d11 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config3.json @@ -189,11 +189,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +213,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +237,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +261,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +285,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +349,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -373,11 +373,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -397,11 +397,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -421,11 +421,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -454,11 +454,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config30.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config30.json index e73ff2aebeae..3eb15d054ea5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config30.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config30.json @@ -4,6 +4,7 @@ "character": 37 }, "source": "class_def/source/source30.bal", + "description": "", "items": [ { "label": "StrandData", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config4.json index 4fef871a991a..615980475d5d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config4.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config6.json index 3233b044a16b..b231e1645502 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config6.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "class_def/source/source6.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config8.json b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config8.json index 609bca34614c..56a848485a97 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/class_def/config/config8.json @@ -207,11 +207,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +231,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +255,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +279,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config3.json index 2281a7d59a5b..3db027abd0ff 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config3.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "comment_context/source/comment_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -712,11 +713,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -745,11 +746,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config4.json index 7b65ebcdfa8c..e30c3c7baa55 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config4.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "comment_context/source/comment_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -712,11 +713,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -745,11 +746,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config5.json index a68b091b105d..e2a03b0e69cf 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/comment_context/config/comment_config5.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "comment_context/source/comment_source1.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -507,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -531,11 +532,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -555,11 +556,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/enum_decl_ctx/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/enum_decl_ctx/config/config5.json index 793ea8627991..5a5654844a61 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/enum_decl_ctx/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/enum_decl_ctx/config/config5.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "enum_decl_ctx/source/source3.bal", + "description": "", "items": [ { "label": "import", @@ -385,11 +386,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -409,11 +410,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -433,11 +434,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -457,11 +458,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +482,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -579,11 +580,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -603,11 +604,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -627,11 +628,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -651,11 +652,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -684,11 +685,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config1.json index 7a220f54eef7..e453a0e11208 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config1.json @@ -4,6 +4,7 @@ "character": 72 }, "source": "expression_context/source/annotation_access_ctx_source1.bal", + "description": "", "items": [ { "label": "display", @@ -42,11 +43,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -66,11 +67,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -90,11 +91,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -114,11 +115,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -138,11 +139,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -162,11 +163,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config13.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config13.json index d27be2a580d5..779c37b38f1a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config13.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config13.json @@ -4,6 +4,7 @@ "character": 37 }, "source": "expression_context/source/annotation_access_ctx_source13.bal", + "description": "", "items": [ { "label": "typeParam", @@ -90,11 +91,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -114,11 +115,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -138,11 +139,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -162,11 +163,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -306,11 +307,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config5.json index 6329d502282b..49fc0d0b4df0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/annotation_access_ctx_config5.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "expression_context/source/annotation_access_ctx_source5.bal", + "description": "", "items": [ { "label": "tainted", @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -154,11 +155,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -178,11 +179,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -202,11 +203,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -226,11 +227,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -250,11 +251,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -274,11 +275,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -298,11 +299,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config1.json index b9c5018332d1..d36ad88cccfd 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "expression_context/source/anon_func_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -277,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -301,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -325,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -382,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config10.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config10.json index bfa524a1d476..002fd7c41506 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config10.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "expression_context/source/anon_func_expr_ctx_source10.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -684,11 +685,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -708,11 +709,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -732,11 +733,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -756,11 +757,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -789,11 +790,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config2.json index 991759a749e7..3ce82bc600cb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "expression_context/source/anon_func_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -277,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -301,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -325,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -382,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config5.json index b14a2a48f550..8f782b488524 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config5.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "expression_context/source/anon_func_expr_ctx_source5.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -304,11 +305,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -328,11 +329,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -352,11 +353,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +377,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -409,11 +410,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config7.json index 2d50cec2594a..0cf87c9bb825 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config7.json @@ -4,6 +4,7 @@ "character": 43 }, "source": "expression_context/source/anon_func_expr_ctx_source7.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -567,11 +568,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config8.json index d8ff934bfbf4..7af89dd6b5ec 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/anon_func_expr_ctx_config8.json @@ -4,6 +4,7 @@ "character": 56 }, "source": "expression_context/source/anon_func_expr_ctx_source8.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -438,11 +439,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -487,11 +488,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -511,11 +512,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -535,11 +536,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -559,11 +560,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -583,11 +584,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config1.json index 032412dc7c85..9a661e3d5cbd 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "expression_context/source/check_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -442,11 +443,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -475,11 +476,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -499,11 +500,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -523,11 +524,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -547,11 +548,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -571,11 +572,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config2.json index db48e2ec508a..ad25d2d60c24 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/check_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "expression_context/source/check_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -434,11 +435,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -467,11 +468,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -491,11 +492,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -515,11 +516,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -539,11 +540,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config1.json index 249a10fc6717..13f79c75ea85 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 19 }, "source": "expression_context/source/conditional_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config10.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config10.json index ba3073b2af05..a7c8d1d2e3b0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config10.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "expression_context/source/conditional_expr_ctx_source10.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -377,11 +378,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -428,11 +429,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -452,11 +453,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -476,11 +477,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -500,11 +501,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -524,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config2.json index 48e49727b736..45165b5fc751 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "expression_context/source/conditional_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config3.json index 71e41e33eb10..2bd617447fe4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config3.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "expression_context/source/conditional_expr_ctx_source3.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config4.json index 6fb02bf08b07..d6158e5e5a9a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config4.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "expression_context/source/conditional_expr_ctx_source4.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config8.json index e2e0fa94abae..ad59e29ae932 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/conditional_expr_ctx_config8.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "expression_context/source/conditional_expr_ctx_source8.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config1.json index 97ab0423f713..6f779235efa4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "expression_context/source/error_constructor_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -475,11 +476,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -499,11 +500,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -523,11 +524,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -547,11 +548,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -571,11 +572,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config2.json index b56b71850e55..3013ba2ddc2c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "expression_context/source/error_constructor_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -475,11 +476,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -499,11 +500,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -523,11 +524,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -547,11 +548,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -571,11 +572,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config3.json index 0e415234551b..15930d81cb6e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config3.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "expression_context/source/error_constructor_expr_ctx_source3.bal", + "description": "", "items": [ { "label": "ErrorTwo", @@ -42,11 +43,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -66,11 +67,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -90,11 +91,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -114,11 +115,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -138,11 +139,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -202,11 +203,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -226,11 +227,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -250,11 +251,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -274,11 +275,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -298,11 +299,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config4.json index e8bf354cc42c..a4b4d27353db 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config4.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "expression_context/source/error_constructor_expr_ctx_source4.bal", + "description": "", "items": [ { "label": "ErrorThree", @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -306,11 +307,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config7.json index 6d8e842dc6b0..8fd8115ceffa 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config7.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "expression_context/source/error_constructor_expr_ctx_source7.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -484,11 +485,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -508,11 +509,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,11 +533,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -556,11 +557,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -580,11 +581,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config8.json index d1e890d7d03e..c5ec644bc445 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/error_constructor_expr_ctx_config8.json @@ -4,6 +4,7 @@ "character": 40 }, "source": "expression_context/source/error_constructor_expr_ctx_source8.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -484,11 +485,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -508,11 +509,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,11 +533,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -556,11 +557,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -580,11 +581,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config1.json index 1a2dfe2211e5..c44863cc6e12 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "expression_context/source/fail_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config2.json index 8bb84a3e90ce..f8eef9ab8eb4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/fail_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "expression_context/source/fail_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config1.json index f5615160b7e9..ff8d7aa717ed 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "expression_context/source/function_call_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -537,11 +538,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -561,11 +562,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -585,11 +586,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config2.json index 35953ad37522..0be30814f225 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "expression_context/source/function_call_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -537,11 +538,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -561,11 +562,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -585,11 +586,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config3.json index e7b51fbd445c..3b225ece05b2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config3.json @@ -4,6 +4,7 @@ "character": 35 }, "source": "expression_context/source/function_call_expression_ctx_source3.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -576,11 +577,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config4.json index e11761a17858..0cf8093e4a41 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config4.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "expression_context/source/function_call_expression_ctx_source4.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -576,11 +577,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config7.json index c23e3544d1a1..05e6fecd2011 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config7.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "expression_context/source/function_call_expression_ctx_source7.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -679,11 +680,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -703,11 +704,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -727,11 +728,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -784,11 +785,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config8.json index 75af16db3921..273ef5127a18 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/function_call_expression_ctx_config8.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "expression_context/source/function_call_expression_ctx_source8.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -691,11 +692,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -715,11 +716,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -739,11 +740,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -763,11 +764,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -796,11 +797,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config1.json index ca837d7f69e5..1b53f9242cac 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config1.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -429,11 +429,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -462,11 +462,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -486,11 +486,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -510,11 +510,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -534,11 +534,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -558,11 +558,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config2.json index 7ea16539d108..8989fe035da4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config2.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -429,11 +429,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -462,11 +462,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -486,11 +486,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -510,11 +510,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -534,11 +534,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -558,11 +558,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config5.json index efb734252a8a..0a3bb17ec281 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config5.json @@ -103,11 +103,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config55.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config55.json index 5dc3e6e6a95b..0357f2b23f88 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config55.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config55.json @@ -67,11 +67,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -91,11 +91,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -115,11 +115,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +139,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +163,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -525,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -549,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -573,11 +573,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -597,11 +597,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -621,11 +621,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config56.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config56.json index 726a317bdc1d..979ad5ff7f57 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config56.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config56.json @@ -67,11 +67,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -91,11 +91,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -115,11 +115,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +139,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +163,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -525,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -549,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -573,11 +573,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -597,11 +597,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -621,11 +621,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config6.json index 39f85b1692ac..237ef3b4d313 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config6.json @@ -103,11 +103,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config7.json index bca74d43d977..254505768546 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/mapping_expr_ctx_config7.json @@ -103,11 +103,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config1.json index 7d580cd0e47d..cfbd4ccff78b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "expression_context/source/member_access_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config2.json index 1fe3c5392364..648e84b1cdce 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/member_access_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "expression_context/source/member_access_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config1.json index d391e5d1e6cd..3f62caa9a17d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "expression_context/source/method_call_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -388,11 +389,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -567,11 +568,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -591,11 +592,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config2.json index d82fff6f3084..736627b89aca 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "expression_context/source/method_call_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -388,11 +389,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -538,11 +539,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -610,11 +611,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -634,11 +635,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config5.json index 47cf48092688..cbbc8f46fb59 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config5.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "expression_context/source/method_call_expression_ctx_source5.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -388,11 +389,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -567,11 +568,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -591,11 +592,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config6.json index c3a1e16ad2a8..3a0f15cec51e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/method_call_expression_ctx_config6.json @@ -4,6 +4,7 @@ "character": 37 }, "source": "expression_context/source/method_call_expression_ctx_source6.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -388,11 +389,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -567,11 +568,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -591,11 +592,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config1.json index 0390ba2f5140..d364e6a59908 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config1.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "expression_context/source/module_ctx_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -533,11 +534,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -557,11 +558,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -581,11 +582,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -605,11 +606,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -678,11 +679,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -717,11 +718,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -741,11 +742,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -765,11 +766,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -789,11 +790,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -822,11 +823,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config2.json index 50560f5a72ae..4ce9cdb89a76 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config2.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "expression_context/source/module_ctx_source2.bal", + "description": "", "items": [ { "label": "module1:TestObject1", @@ -209,11 +210,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -233,11 +234,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -257,11 +258,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -281,11 +282,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -305,11 +306,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -474,11 +475,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config3.json index d78da17e285d..8840bc9793d6 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config3.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "expression_context/source/module_ctx_source3.bal", + "description": "", "items": [ { "label": "xmlns", @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -566,11 +567,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -590,11 +591,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -614,11 +615,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -638,11 +639,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -662,11 +663,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -686,11 +687,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -710,11 +711,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -734,11 +735,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -822,11 +823,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config4.json index ba5e7de83ecb..f97a1a5a9015 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config4.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "expression_context/source/module_ctx_source4.bal", + "description": "", "items": [ { "label": "xmlns", @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -566,11 +567,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -590,11 +591,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -614,11 +615,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -638,11 +639,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -662,11 +663,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -686,11 +687,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -710,11 +711,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -734,11 +735,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -822,11 +823,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config5.json index 39f0c461c34b..c044ceee339d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/module_ctx_config5.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "expression_context/source/module_ctx_source5.bal", + "description": "", "items": [ { "label": "xmlns", @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -536,11 +537,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -560,11 +561,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -584,11 +585,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -608,11 +609,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -632,11 +633,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -656,11 +657,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -744,11 +745,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10.json index a64a411da210..21a6ef977f3a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "expression_context/source/new_expr_ctx_source10.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10a.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10a.json index 73bf0c0f9def..6e186c0dbe23 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config10a.json @@ -4,6 +4,7 @@ "character": 30 }, "source": "expression_context/source/new_expr_ctx_source10a.bal", + "description": "", "items": [ { "label": "TestObject2()", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config11.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config11.json index b66440d7479f..725ac0ca9b45 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config11.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "expression_context/source/new_expr_ctx_source11.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config12.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config12.json index 22dc5e04ac49..08437a1e206b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config12.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "expression_context/source/new_expr_ctx_source12.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config14.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config14.json index 899b8f2c1444..dc59dfec35d3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config14.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "expression_context/source/new_expr_ctx_source14.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config15.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config15.json index c4e1da35f5ed..cb66c5d6f31c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config15.json @@ -4,6 +4,7 @@ "character": 40 }, "source": "expression_context/source/new_expr_ctx_source15.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config17.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config17.json index cb4962819c2a..6176cfc419f3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config17.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config17.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "expression_context/source/new_expr_ctx_source17.bal", + "description": "", "items": [ { "label": "testMod", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config18.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config18.json index 8a0fc93801a9..c9e05789ba96 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config18.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config18.json @@ -4,6 +4,7 @@ "character": 19 }, "source": "expression_context/source/new_expr_ctx_source18.bal", + "description": "", "items": [ { "label": "testMod", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -207,11 +208,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -231,11 +232,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -255,11 +256,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -279,11 +280,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -303,11 +304,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -327,11 +328,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config19.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config19.json index a1db423162b1..2c10081e8160 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config19.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config19.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "expression_context/source/new_expr_ctx_source19.bal", + "description": "", "items": [ { "label": "testMod", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -220,11 +221,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -244,11 +245,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -268,11 +269,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -292,11 +293,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -316,11 +317,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -340,11 +341,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config20.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config20.json index e4c5283bf861..923eb8832088 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config20.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config20.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "expression_context/source/new_expr_ctx_source20.bal", + "description": "", "items": [ { "label": "testMod", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -362,11 +363,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -490,11 +491,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -514,11 +515,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -538,11 +539,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config21.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config21.json index f296530fe7b9..dd09bf6c209b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config21.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "expression_context/source/new_expr_ctx_source21.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -490,11 +491,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -514,11 +515,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -538,11 +539,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config5.json index 2d2d43b54693..96072fe59af3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config5.json @@ -4,6 +4,7 @@ "character": 30 }, "source": "expression_context/source/new_expr_ctx_source5.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -478,11 +479,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -502,11 +503,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -526,11 +527,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -550,11 +551,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -574,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config6.json index 64a5fc8cf2c9..7a6789069808 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config6.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "expression_context/source/new_expr_ctx_source6.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -478,11 +479,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -502,11 +503,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -526,11 +527,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -550,11 +551,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -574,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config7.json index a94394044bd2..3c455db9ff69 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config7.json @@ -4,6 +4,7 @@ "character": 34 }, "source": "expression_context/source/new_expr_ctx_source7.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config8.json index e4c23dce77fe..0af18abd529a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config8.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "expression_context/source/new_expr_ctx_source8.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config9.json index 0ddfc5d33b3f..6dec98f89ec8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/new_expr_ctx_config9.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "expression_context/source/new_expr_ctx_source9.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -266,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -290,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -314,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config13.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config13.json index 0558406751d0..0544224f466b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config13.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config13.json @@ -4,6 +4,7 @@ "character": 43 }, "source": "expression_context/source/object_constructor_expr_ctx_source13.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -304,11 +305,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -328,11 +329,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -352,11 +353,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +377,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -409,11 +410,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config15.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config15.json index 498b84432e16..dfa3c0b669b5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config15.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "expression_context/source/object_constructor_expr_ctx_source15.bal", + "description": "", "items": [ { "label": "StrandData", @@ -126,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -150,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -174,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -198,11 +199,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +437,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config2.json index 58e862c80cb3..eb72145a2e85 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "expression_context/source/object_constructor_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -162,11 +163,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config4.json index 6b93364294e9..44a1e50f641a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config4.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "expression_context/source/object_constructor_expr_ctx_source4.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -307,11 +308,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -331,11 +332,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -355,11 +356,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +380,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +404,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +437,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config5.json index 8727a540d405..77efb64e29a3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config5.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "expression_context/source/object_constructor_expr_ctx_source5.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -307,11 +308,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -331,11 +332,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -355,11 +356,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +380,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +404,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +437,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config7.json index d90add7216cf..159cf252b249 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config7.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "expression_context/source/object_constructor_expr_ctx_source7.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -307,11 +308,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -331,11 +332,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -355,11 +356,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +380,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +404,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +437,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config9.json index 47d8bf35e9e3..36db05c5e5ce 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/object_constructor_expr_ctx_config9.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "expression_context/source/object_constructor_expr_ctx_source9.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -397,11 +398,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -446,11 +447,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -470,11 +471,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -494,11 +495,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -518,11 +519,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config1.json index a25fee04cdc6..06ba17030d67 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "expression_context/source/trap_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -442,11 +443,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -475,11 +476,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -499,11 +500,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -523,11 +524,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -547,11 +548,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -571,11 +572,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config2.json index b011efc15ec4..767e2ceb5deb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/trap_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "expression_context/source/trap_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -434,11 +435,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -467,11 +468,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -491,11 +492,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -515,11 +516,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -539,11 +540,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config1.json index 8305c53dcd82..561324f783a9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 32 }, "source": "expression_context/source/type_test_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "Thread", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config2.json index ff28ba637511..47d23d78ce30 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 33 }, "source": "expression_context/source/type_test_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "Thread", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config5.json index 2b3351f24db5..2f2f1fbbdc51 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config5.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "expression_context/source/type_test_expression_ctx_source5.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config8.json index 61ce7651eb46..603008170cb3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config8.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "expression_context/source/type_test_expression_ctx_source8.bal", + "description": "", "items": [ { "label": "StrandData", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -381,11 +382,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -405,11 +406,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -438,11 +439,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config9.json index 409959a9d995..f1db7bf9ea9c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/type_test_expression_ctx_config9.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "expression_context/source/projectls/modules/lsmod4/lsmod4.bal", + "description": "", "items": [ { "label": "StrandData", @@ -126,11 +127,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -150,11 +151,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -174,11 +175,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -198,11 +199,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -286,11 +287,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -310,11 +311,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -334,11 +335,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -398,11 +399,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -446,11 +447,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -479,11 +480,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config1.json index 5e165584abe3..2958e6541877 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config1.json @@ -4,6 +4,7 @@ "character": 18 }, "source": "expression_context/source/typecast_expr_ctx_source1.bal", + "description": "", "items": [ { "label": "ErrorName", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -398,11 +399,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config2.json index 6d780358a09f..6e677dfe5b10 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config2.json @@ -4,6 +4,7 @@ "character": 19 }, "source": "expression_context/source/typecast_expr_ctx_source2.bal", + "description": "", "items": [ { "label": "ErrorName", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -398,11 +399,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config4.json index 268d6169b3c1..920e1452c33b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config4.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "expression_context/source/typecast_expr_ctx_source4.bal", + "description": "", "items": [ { "label": "ErrorName", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -398,11 +399,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config5.json index fa21aee6d5f9..0212529175f6 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config5.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "expression_context/source/typecast_expr_ctx_source5.bal", + "description": "", "items": [ { "label": "ErrorName", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -398,11 +399,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config6.json index e5fb35db108b..b861a5ba0701 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typecast_expr_ctx_config6.json @@ -4,6 +4,7 @@ "character": 32 }, "source": "expression_context/source/typecast_expr_ctx_source6.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -435,11 +436,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -468,11 +469,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -492,11 +493,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -516,11 +517,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -564,11 +565,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config1.json index 1c2ea7bbeb4d..df6b1c9c4277 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config1.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "expression_context/source/typeof_expression_ctx_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config2.json index 0291cf2f062e..e289ace0a5d1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/typeof_expression_ctx_config2.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "expression_context/source/typeof_expression_ctx_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config1.json index 4b9afc5c842d..26082e58d7ae 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config1.json @@ -49,11 +49,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -73,11 +73,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -97,11 +97,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -121,11 +121,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -145,11 +145,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -627,11 +627,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -651,11 +651,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -675,11 +675,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -699,11 +699,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -723,11 +723,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config2.json index d9523b4ecda9..ac3fa173cbfc 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/expression_context/config/xml_attribute_access_expr_ctx_config2.json @@ -49,11 +49,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -73,11 +73,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -97,11 +97,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -121,11 +121,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -145,11 +145,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -627,11 +627,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -651,11 +651,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -675,11 +675,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -699,11 +699,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -723,11 +723,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config21.json b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config21.json index 28d78f8da352..ee2765cfedd1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config21.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "field_access_expression_context/source/field_access_ctx_source20.bal", + "description": "", "items": [ { "label": "xmlns", @@ -376,11 +377,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -653,11 +654,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -677,11 +678,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -701,11 +702,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -725,11 +726,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -758,11 +759,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config38.json b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config38.json index fb6337ff5a56..9b659c3a9a16 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config38.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config38.json @@ -128,11 +128,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -152,11 +152,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -176,11 +176,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +200,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +224,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -575,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -599,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -623,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -647,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -671,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config39.json b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config39.json index 44a7574de310..f68c4f120435 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config39.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config39.json @@ -128,11 +128,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -152,11 +152,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -176,11 +176,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +200,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +224,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -575,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -599,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -623,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -647,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -671,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config40.json b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config40.json index 39d1dbd932bf..fb691613763c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config40.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config40.json @@ -128,11 +128,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -152,11 +152,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -176,11 +176,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +200,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +224,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -575,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -599,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -623,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -647,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -671,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config41.json b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config41.json index 36d303670bdb..720ded45b4a7 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config41.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/field_access_expression_context/config/field_access_ctx_config41.json @@ -128,11 +128,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -152,11 +152,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -176,11 +176,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +200,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +224,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -575,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -599,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -623,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -647,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -671,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config1.json index eae29afa94bd..2cd51d352900 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config1.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "function_body/source/source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -625,11 +626,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -649,11 +650,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -673,11 +674,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -697,11 +698,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -730,11 +731,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config12.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config12.json index 73350b9f2e98..91b54c4404ef 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config12.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "function_body/source/source12.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -660,11 +661,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -684,11 +685,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -708,11 +709,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -732,11 +733,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -765,11 +766,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config13.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config13.json index d282d9d372a0..472b4c8deaff 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config13.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config13.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "function_body/source/source13.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -660,11 +661,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -684,11 +685,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -708,11 +709,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -732,11 +733,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -857,11 +858,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config2.json index fbc43e6c7aa6..7643f15916da 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config2.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "function_body/source/source2.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -625,11 +626,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -649,11 +650,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -673,11 +674,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -697,11 +698,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -730,11 +731,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config3.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config3.json index aafd803ef785..0a580870ce0e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config3.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "function_body/source/source3.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -616,11 +617,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -721,11 +722,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config4.json index 144fda7df98c..0fa0a79e6097 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config4.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "function_body/source/source4.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -627,11 +628,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -651,11 +652,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -675,11 +676,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -699,11 +700,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -732,11 +733,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config5.json index 7b266a129127..0075996e0d9f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config5.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "function_body/source/source5.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -645,11 +646,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -669,11 +670,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -693,11 +694,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -717,11 +718,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -750,11 +751,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config6.json index 1233cb036ea2..caf71926d751 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config6.json @@ -361,11 +361,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -385,11 +385,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -409,11 +409,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -433,11 +433,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -541,11 +541,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -646,11 +646,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -670,11 +670,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -694,11 +694,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -718,11 +718,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -751,11 +751,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config7.json index 3ad0f020bd51..b8a7ecce552b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_body/config/config7.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "function_body/source/source7.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -567,11 +568,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -591,11 +592,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config10.json index 72c770e0bdd6..7da4f38993b1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config10.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "function_def/source/source10.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config11.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config11.json index 6a649cbc4e32..763b92b7f474 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config11.json @@ -4,6 +4,7 @@ "character": 40 }, "source": "function_def/source/source11.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config14.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config14.json index e12fdc7e795e..feff9d150390 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config14.json @@ -4,6 +4,7 @@ "character": 56 }, "source": "function_def/source/source14.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -494,11 +495,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -518,11 +519,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -566,11 +567,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -590,11 +591,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config15.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config15.json index b3dbb2c14611..9e347bfa6ade 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config15.json @@ -4,6 +4,7 @@ "character": 57 }, "source": "function_def/source/source15.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -479,11 +480,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -503,11 +504,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -527,11 +528,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -551,11 +552,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -575,11 +576,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config18.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config18.json index e7ef87db09de..1f992172e814 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config18.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config18.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "function_def/source/source18.bal", + "description": "", "items": [ { "label": "record", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config19.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config19.json index 5772942fd962..cbb7a16806b6 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config19.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config19.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "function_def/source/source19.bal", + "description": "", "items": [ { "label": "record", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config23.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config23.json index 73b53420720b..df190ab3e499 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config23.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config23.json @@ -4,6 +4,7 @@ "character": 30 }, "source": "function_def/source/projectls/defaultable_param.bal", + "description": "", "items": [ { "label": "start", @@ -53,11 +54,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -77,11 +78,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -101,11 +102,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -550,11 +551,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -574,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -598,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -622,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -646,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config3.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config3.json index 3ece32f4f72c..3ca4b46871c4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config3.json @@ -4,6 +4,7 @@ "character": 33 }, "source": "function_def/source/source3.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config4.json index bfe9342a5ef8..e7ef7fd1ff11 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config4.json @@ -4,6 +4,7 @@ "character": 34 }, "source": "function_def/source/source4.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -509,11 +510,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config9.json b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config9.json index 4fb02e4eb56d..200cbda05f26 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/function_def/config/config9.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "function_def/source/source9.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config11.json b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config11.json index d6f704e8997c..677c52cc4575 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config11.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "import_decl/source/lsproject/modules/module3/main2.bal", + "description": "", "items": [ { "label": "xmlns", @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -583,11 +584,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -607,11 +608,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -631,11 +632,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -655,11 +656,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -679,11 +680,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -703,11 +704,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -727,11 +728,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -775,11 +776,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -799,11 +800,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -832,11 +833,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config12.json b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config12.json index a8e4185f1e85..572db56cc0ed 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config12.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "import_decl/source/lsproject/modules/module3/main3.bal", + "description": "", "items": [ { "label": "xmlns", @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -583,11 +584,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -607,11 +608,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -631,11 +632,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -655,11 +656,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -679,11 +680,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -703,11 +704,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -727,11 +728,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -775,11 +776,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -799,11 +800,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -832,11 +833,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config21.json b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config21.json index ab91c50fcf42..b8dc65d91b46 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/import_decl/config/config21.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "import_decl/source/lsproject/modules/module3/main8.bal", + "description": "", "items": [ { "label": "xmlns", @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -607,11 +608,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -631,11 +632,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -655,11 +656,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -679,11 +680,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -703,11 +704,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -727,11 +728,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -775,11 +776,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -799,11 +800,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -832,11 +833,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config1.json index 9e4426fb42ce..6d02e02364be 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config1.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -187,11 +187,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -211,11 +211,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -235,11 +235,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -259,11 +259,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -283,11 +283,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config11.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config11.json index 1fd702444777..1b0a3705867d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config11.json @@ -4,6 +4,7 @@ "character": 45 }, "source": "listener_decl/source/source11.bal", + "description": "", "items": [ { "label": "getInt()", @@ -72,11 +73,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -96,11 +97,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -120,11 +121,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -144,11 +145,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -168,11 +169,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -286,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -310,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -334,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -358,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -382,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config12.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config12.json index aa4f41ae886f..255a6fd21dac 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config12.json @@ -4,6 +4,7 @@ "character": 46 }, "source": "listener_decl/source/source12.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -277,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -301,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -325,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -382,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config2.json index e58e8909daf0..20e64e7bdec1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config2.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -187,11 +187,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -211,11 +211,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -235,11 +235,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -259,11 +259,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -283,11 +283,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3b.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3b.json index ab2b4e248f0d..2fa82a6c7088 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3b.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3b.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -187,11 +187,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -211,11 +211,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -235,11 +235,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -259,11 +259,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -283,11 +283,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3c.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3c.json index b07307fe1caa..852193d58493 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3c.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config3c.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -187,11 +187,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -211,11 +211,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -235,11 +235,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -259,11 +259,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -283,11 +283,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config4.json index c23cbc68c51c..2e09ab42fc64 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config4.json @@ -35,11 +35,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -59,11 +59,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -83,11 +83,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -107,11 +107,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -131,11 +131,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -241,11 +241,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -265,11 +265,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -289,11 +289,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -313,11 +313,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -337,11 +337,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config5.json index d0a84acdfc1b..b885f7946479 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config5.json @@ -35,11 +35,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -59,11 +59,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -83,11 +83,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -107,11 +107,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -131,11 +131,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -241,11 +241,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -265,11 +265,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -289,11 +289,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -313,11 +313,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -337,11 +337,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config7.json index 76f8c6748bab..bdb681bf5793 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config7.json @@ -35,11 +35,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -59,11 +59,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -83,11 +83,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -107,11 +107,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -131,11 +131,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -223,11 +223,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -247,11 +247,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -271,11 +271,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -295,11 +295,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -319,11 +319,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config8.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config8.json index ad4588884457..72c2e980507c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config8.json @@ -35,11 +35,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -59,11 +59,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -83,11 +83,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -107,11 +107,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -131,11 +131,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -223,11 +223,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -247,11 +247,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -271,11 +271,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -295,11 +295,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -319,11 +319,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config9.json b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config9.json index 5d1943843913..e2cbb15ebf18 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/listener_decl/config/config9.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -179,11 +179,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -203,11 +203,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -227,11 +227,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -251,11 +251,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -275,11 +275,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config1.json index 41663864f417..b7ab514d6976 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config1.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "module_const_context/source/source1.bal", + "description": "", "items": [ { "label": "StrandData", @@ -117,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -277,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -301,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -325,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -391,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config10.json index 4817c90d335c..b58e56fd1623 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config10.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -219,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -243,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +267,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +291,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +315,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config2.json index 79abfd21c1a6..d868608fde3f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config2.json @@ -118,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -142,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -166,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -190,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -214,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -278,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config4.json index 534529ce9ff7..1e7561f0584a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config4.json @@ -118,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -142,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -166,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -190,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -214,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -278,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +302,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config6.json index d2f797226d57..4343c2763e6d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config6.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -233,11 +233,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -257,11 +257,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -281,11 +281,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -305,11 +305,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -329,11 +329,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config7.json index 15d353cd7d4b..acabac212753 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_const_context/config/config7.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -99,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -123,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -233,11 +233,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -257,11 +257,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -281,11 +281,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -305,11 +305,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -329,11 +329,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config10.json index 6867084500fc..3c9603bbd1ce 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config10.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "module_part_context/source/source10.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -246,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -270,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -294,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -318,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config14.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config14.json index 88042f271374..204192e14f1c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config14.json @@ -370,11 +370,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -394,11 +394,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -418,11 +418,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -442,11 +442,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -466,11 +466,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -530,11 +530,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -604,11 +604,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -628,11 +628,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -652,11 +652,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -676,11 +676,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, @@ -717,11 +717,11 @@ { "range": { "start": { - "line": 2, + "line": 3, "character": 0 }, "end": { - "line": 2, + "line": 3, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config15.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config15.json index e4130a96ad4c..ccbb9d295ad2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config15.json @@ -368,11 +368,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +416,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +440,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +464,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -562,11 +562,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -586,11 +586,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -610,11 +610,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -634,11 +634,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -667,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config16.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config16.json index 102c7ac32332..98cbee0331fd 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config16.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config16.json @@ -352,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +512,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -570,11 +570,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -594,11 +594,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -618,11 +618,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +642,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +666,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -699,11 +699,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config6.json index 488f69e0b3fc..c7f0b2f57b2b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config6.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/source6.bal", + "description": "", "items": [ { "label": "type", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -659,11 +660,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config8.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config8.json index bc22ca1fa38b..97b7c4e185a9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config8.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "module_part_context/source/source8.bal", + "description": "", "items": [ { "label": "client", @@ -153,11 +154,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -177,11 +178,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -201,11 +202,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -225,11 +226,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -249,11 +250,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -331,11 +332,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -355,11 +356,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +380,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +404,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +437,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config9.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config9.json index c7a3d9c2c823..3261c02e0286 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/config9.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "module_part_context/source/source9.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +265,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +289,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_annotation_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_annotation_decl_config.json index 62b381c319d0..bcfd320df6e2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_annotation_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_annotation_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_class_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_class_defn_config.json index 74cf2fcde08e..47f5686d05a8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_class_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_class_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_configurable_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_configurable_config1.json index bb5461697f1b..538a01947f62 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_configurable_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_configurable_config1.json @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -199,11 +199,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -223,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -383,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_const_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_const_decl_config.json index 3d9cb2101f9a..9391ac23ad6b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_const_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_const_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_enum_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_enum_decl_config.json index 8a5a3e60a4c4..6406b85e8c53 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_enum_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_enum_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_funciton_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_funciton_defn_config.json index 87440bf56d76..297111a5201c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_funciton_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_funciton_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_import_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_import_decl_config.json index b08f82f7136f..37c69f178ad5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_import_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_import_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "import", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -587,11 +588,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -611,11 +612,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -635,11 +636,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -716,11 +717,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_listener_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_listener_decl_config.json index 89690798d3dc..6a7d948dc08c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_listener_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_listener_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_service_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_service_decl_config.json index 0b681d05c20b..96a00194b7e4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_service_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_service_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_type_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_type_defn_config.json index b9be95cdc1e4..e9784aab5e91 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_type_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_type_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_var_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_var_decl_config.json index a84924aac19f..d7ed86247519 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_var_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_var_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_xmlns_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_xmlns_decl_config.json index 3b04ee33dd70..4b6b77b29299 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_xmlns_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_after_xmlns_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_annotation_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_annotation_decl_config.json index 72702371a20c..a1a94f785233 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_annotation_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_annotation_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_class_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_class_defn_config.json index 3dca99e2aa51..3980119cc409 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_class_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_class_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_const_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_const_decl_config.json index 37f4f7aabd2d..e92a4fe360e8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_const_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_const_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_enum_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_enum_decl_config.json index 2bd21271590b..dda1782efb57 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_enum_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_enum_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_function_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_function_defn_config.json index 8dd3d9ed2d13..dd5fcd901eb9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_function_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_function_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_import_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_import_decl_config.json index 09ed36e6ee95..e22e83b41350 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_import_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_import_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "import", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -587,11 +588,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -611,11 +612,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -635,11 +636,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -716,11 +717,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_listener_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_listener_decl_config.json index e0dfc5cd0f0d..49479f0d9060 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_listener_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_listener_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "import", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -563,11 +564,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -587,11 +588,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -611,11 +612,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -635,11 +636,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -716,11 +717,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_service_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_service_decl_config.json index 9f354124369a..a3a26c93b86c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_service_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_service_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_type_defn_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_type_defn_config.json index 750889ed0b33..fc01aabb8a59 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_type_defn_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_type_defn_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_var_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_var_decl_config.json index cebaa8d90d95..a2084d95f5ab 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_var_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_var_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_xmlns_decl_config.json b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_xmlns_decl_config.json index ce9578057df1..e5ddffb5a505 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_xmlns_decl_config.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_part_context/config/module_level_before_xmlns_decl_config.json @@ -4,6 +4,7 @@ "character": 0 }, "source": "module_part_context/source/module_part_start_and_end_of_decls_and_defns.bal", + "description": "", "items": [ { "label": "type", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -554,11 +555,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -578,11 +579,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -602,11 +603,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -626,11 +627,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 1, + "line": 2, "character": 0 }, "end": { - "line": 1, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config1.json index 1bbcd895a97d..0bc5b152930f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config1.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "module_var_context/source/source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config16.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config16.json index fe2523cf14c4..58a4d9930a24 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config16.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config16.json @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -199,11 +199,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -223,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -383,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config18.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config18.json index 86a2eec5e9ad..ee0ec0620e92 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config18.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config18.json @@ -127,11 +127,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -151,11 +151,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -175,11 +175,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -199,11 +199,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -223,11 +223,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +247,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +271,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +295,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +319,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -383,11 +383,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config2.json index 8ddb18336e1d..1346cb9ce3f0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config2.json @@ -4,6 +4,7 @@ "character": 29 }, "source": "module_var_context/source/source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config5.json index b0ffa5fa743c..9e88c6fc517e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config5.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "module_var_context/source/source5.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -471,11 +472,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -495,11 +496,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -519,11 +520,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -543,11 +544,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config6.json index 925023ac38d3..7ce0b2729c7d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config6.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "module_var_context/source/source6.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -462,11 +463,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -486,11 +487,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -510,11 +511,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -534,11 +535,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -558,11 +559,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config7.json index d1d6f42fcba4..2b56cc18ff1c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config7.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "module_var_context/source/source7.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config9.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config9.json index 9e2c97303d2a..c876206c8c21 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config9.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "module_var_context/source/source9.bal", + "description": "", "items": [ { "label": "function", @@ -171,11 +172,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -195,11 +196,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -219,11 +220,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -243,11 +244,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -331,11 +332,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -355,11 +356,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +380,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +404,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config1.json index 3b80057a735a..e5f37d89e979 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config1.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "module_xml_namespace_decl/source/source1.bal", + "description": "", "items": [ { "label": "STRING_CONST", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +201,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config2.json index f7205906f36f..3d0fe36c5747 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config2.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "module_xml_namespace_decl/source/source2.bal", + "description": "", "items": [ { "label": "STRING_CONST", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +201,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config8.json b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config8.json index 7217bc743e22..f5e7a347377d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_xml_namespace_decl/config/config8.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "module_xml_namespace_decl/source/source8.bal", + "description": "", "items": [ { "label": "STRING_CONST", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +201,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/performance_completion/config/performance_completion.json b/language-server/modules/langserver-core/src/test/resources/completion/performance_completion/config/performance_completion.json index 12a959e48946..6d16fd4be776 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/performance_completion/config/performance_completion.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/performance_completion/config/performance_completion.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "statement_context/source/assignment_stmt_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -452,11 +453,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -476,11 +477,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -500,11 +501,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -524,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -548,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config14.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config14.json index e1d875a059ee..99043c0898f0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config14.json @@ -27,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -51,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -75,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -379,11 +379,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -403,11 +403,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -436,11 +436,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -460,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -484,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -508,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,11 +532,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config22.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config22.json index 9088e7848daf..47c9992e6e20 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config22.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config22.json @@ -4,6 +4,7 @@ "character": 42 }, "source": "query_expression/source/query_expr_ctx_source22.bal", + "description": "", "items": [ { "label": "from", @@ -44,11 +45,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -68,11 +69,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -92,11 +93,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -116,11 +117,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -140,11 +141,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config23.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config23.json index 9bf6c1dadbf7..3620634d93df 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config23.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config23.json @@ -4,6 +4,7 @@ "character": 43 }, "source": "query_expression/source/query_expr_ctx_source23.bal", + "description": "", "items": [ { "label": "from", @@ -44,11 +45,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -68,11 +69,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -92,11 +93,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -116,11 +117,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -140,11 +141,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config24.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config24.json index 7b6ca254f8b1..ffe182f0c0ea 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config24.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config24.json @@ -4,6 +4,7 @@ "character": 50 }, "source": "query_expression/source/query_expr_ctx_source24.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config25.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config25.json index 45ca9717b37e..f10356be98f8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config25.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config25.json @@ -4,6 +4,7 @@ "character": 38 }, "source": "query_expression/source/query_expr_ctx_source25.bal", + "description": "", "items": [ { "label": "from", @@ -44,11 +45,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -68,11 +69,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -92,11 +93,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -116,11 +117,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -140,11 +141,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config26.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config26.json index 471b9d6d57cd..8bf3e8a704c0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config26.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config26.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "query_expression/source/query_expr_ctx_source26.bal", + "description": "", "items": [ { "label": "from", @@ -44,11 +45,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -68,11 +69,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -92,11 +93,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -116,11 +117,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -140,11 +141,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config7.json index 1a7a586ef3ed..419311642445 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config7.json @@ -118,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -142,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -166,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -368,11 +368,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config8.json index bfd1db31669f..3a2f9d4987bf 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_config8.json @@ -118,11 +118,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -142,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -166,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config1.json index 01756505034d..14821702edbf 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config1.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "query_expression/source/query_expr_ctx_join_clause_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config12.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config12.json index 6fa629ccd70c..8d163233a0da 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config12.json @@ -4,6 +4,7 @@ "character": 38 }, "source": "query_expression/source/query_expr_ctx_join_clause_source12.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config2.json index 15b85174c89e..8f98a02859c4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config2.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "query_expression/source/query_expr_ctx_join_clause_source2.bal", + "description": "", "items": [ { "label": "Thread", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config5.json index c75150dbcff9..b5f524dd972e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_join_clause_config5.json @@ -4,6 +4,7 @@ "character": 37 }, "source": "query_expression/source/query_expr_ctx_join_clause_source5.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config1.json index 95dd548d6f0f..c5e6591bfc34 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config1.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "query_expression/source/query_expr_ctx_let_clause_source1.bal", + "description": "", "items": [ { "label": "Thread", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config10.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config10.json index 78311c25be41..9ce7ed8dc407 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config10.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "query_expression/source/query_expr_ctx_let_clause_source10.bal", + "description": "", "items": [ { "label": "Thread", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -418,11 +419,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config11.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config11.json index d2f0c82aad1a..4364b681468b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config11.json @@ -4,6 +4,7 @@ "character": 46 }, "source": "query_expression/source/query_expr_ctx_let_clause_source11.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -463,11 +464,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config2.json index e689367d18b3..11fdb021354b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config2.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "query_expression/source/query_expr_ctx_let_clause_source2.bal", + "description": "", "items": [ { "label": "Thread", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config4.json index 2e852f54934b..dee5c828db0d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config4.json @@ -4,6 +4,7 @@ "character": 31 }, "source": "query_expression/source/query_expr_ctx_let_clause_source4.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -463,11 +464,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config5.json index 8a7f83560d27..2e3f0ec7e775 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config5.json @@ -4,6 +4,7 @@ "character": 32 }, "source": "query_expression/source/query_expr_ctx_let_clause_source5.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -463,11 +464,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config6.json index ad64987c1427..fe321b3e59a1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config6.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "query_expression/source/query_expr_ctx_let_clause_source6.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config7.json index fc160a5fe1ce..713d5ded8eb1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config7.json @@ -4,6 +4,7 @@ "character": 40 }, "source": "query_expression/source/query_expr_ctx_let_clause_source7.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config8.json index a31c2175f2d8..0e3d4084932f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config8.json @@ -4,6 +4,7 @@ "character": 40 }, "source": "query_expression/source/query_expr_ctx_let_clause_source8.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -242,11 +243,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config9.json index 02ccefc6dad4..5801ee36f753 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_let_clause_config9.json @@ -4,6 +4,7 @@ "character": 35 }, "source": "query_expression/source/query_expr_ctx_let_clause_source9.bal", + "description": "", "items": [ { "label": "Thread", @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -302,11 +303,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -326,11 +327,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -350,11 +351,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -374,11 +375,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config1.json index a6e8a75344fe..fbb60fc968f1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config1.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "query_expression/source/query_expr_ctx_limit_clause_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -536,11 +537,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -560,11 +561,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -584,11 +585,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config2.json index af056eef3cc8..1148c797d4e5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config2.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "query_expression/source/query_expr_ctx_limit_clause_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -536,11 +537,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -560,11 +561,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -584,11 +585,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config4.json index 1c7acb9e359c..e1f8ab3ea509 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_limit_clause_config4.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "query_expression/source/query_expr_ctx_limit_clause_source4.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -146,11 +147,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -170,11 +171,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -194,11 +195,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -218,11 +219,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -595,11 +596,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_onconflict_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_onconflict_clause_config2.json index 12a45baae409..a21d5eff97a9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_onconflict_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_onconflict_clause_config2.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "query_expression/source/query_expr_ctx_onconflict_clause_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -536,11 +537,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -560,11 +561,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config1.json index ae2e36caf6b5..9c9dd2947f23 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config1.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "query_expression/source/query_expr_ctx_orderby_clause_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config2.json index 410f2463057f..10a13cb3b8aa 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_orderby_clause_config2.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "query_expression/source/query_expr_ctx_orderby_clause_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -496,11 +497,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -520,11 +521,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config1.json index 85ce79b18d3a..1d25d9dbebb4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config1.json @@ -4,6 +4,7 @@ "character": 19 }, "source": "query_expression/source/query_expr_ctx_select_clause_source1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -537,11 +538,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -561,11 +562,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -585,11 +586,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config2.json index 7242f43344d8..ded35f4a8cca 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/query_expression/config/query_expr_ctx_select_clause_config2.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "query_expression/source/query_expr_ctx_select_clause_source2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -537,11 +538,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -561,11 +562,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -585,11 +586,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config1.json index be58feffc8c2..dda35feac364 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config1.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "record_type_desc/source/source1.bal", + "description": "", "items": [ { "label": "StrandData", @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -245,11 +246,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -381,11 +382,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -414,11 +415,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config10.json index d6c70cc789b7..428c623339c3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config10.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "record_type_desc/source/source10.bal", + "description": "", "items": [ { "label": "T5", @@ -61,11 +62,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -85,11 +86,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -245,11 +246,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config2.json index 0dc54c5f5d2b..5eb4882478a8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config2.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "record_type_desc/source/source2.bal", + "description": "", "items": [ { "label": "StrandData", @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -245,11 +246,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -381,11 +382,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -506,11 +507,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config5.json index d5cd37a47923..cc987e970c4c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config5.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "record_type_desc/source/source5.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -616,11 +617,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config6.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config6.json index fa28ae0287be..6daf02ef4014 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config6.json @@ -4,6 +4,7 @@ "character": 24 }, "source": "record_type_desc/source/source6.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -544,11 +545,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -568,11 +569,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -592,11 +593,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -616,11 +617,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config7.json index 5c1e85820142..28b36c69384f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config7.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "record_type_desc/source/source7.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -526,11 +527,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -550,11 +551,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -574,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -598,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -622,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config8.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config8.json index cb71a093e744..ff1d3b68dab9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config8.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "record_type_desc/source/source8.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -526,11 +527,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -550,11 +551,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -574,11 +575,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -598,11 +599,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -622,11 +623,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config9.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config9.json index b140adbbf9eb..babfb98d0ba3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config9.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "record_type_desc/source/source9.bal", + "description": "", "items": [ { "label": "T5", @@ -61,11 +62,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -85,11 +86,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -245,11 +246,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config4.json index 876a1717d278..a875e842a52b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config4.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "service_body/source/source4.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -712,11 +713,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -745,11 +746,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config5.json b/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config5.json index 2e06ff36a914..2084795a78d2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_body/config/config5.json @@ -145,11 +145,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -169,11 +169,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -193,11 +193,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -217,11 +217,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -241,11 +241,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -368,11 +368,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +416,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +440,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -473,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config1.json index 356cfa6a4bfc..d01d3e1126a8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config1.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "service_decl/source/source1.bal", + "description": "", "items": [ { "label": "TestObject", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -320,11 +321,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config10.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config10.json index 0121f1ca0fca..e31daae3d3c6 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config10.json @@ -126,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -150,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -174,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -198,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config11.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config11.json index 185aaf002081..5dbb2f8a8a15 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config11.json @@ -126,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -150,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -174,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -198,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -481,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config12.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config12.json index dbfb9d7f5113..f2c9ebb84b0e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config12.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "service_decl/source/source12.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -488,11 +489,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -512,11 +513,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config14.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config14.json index 9fd12cf21a4e..b0a8d65e26d7 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config14.json @@ -126,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -150,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -174,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -198,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -549,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config15.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config15.json index 3986d2438676..50b630a0474c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config15.json @@ -126,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -150,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -174,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -198,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -222,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -514,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config16.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config16.json index e25c84aa83a0..0262f684afde 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config16.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config16.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "service_decl/source/source16.bal", + "description": "", "items": [ { "label": "xmlns", @@ -359,11 +360,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -383,11 +384,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -407,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -431,11 +432,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -455,11 +456,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -712,11 +713,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -745,11 +746,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config17.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config17.json index b0a1e5e02185..4d0104648e52 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config17.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config17.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "service_decl/source/source17.bal", + "description": "", "items": [ { "label": "type", @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -610,11 +611,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -634,11 +635,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -667,11 +668,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config18.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config18.json index 79a2f355fbfc..13b0c3cd9e09 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config18.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config18.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "service_decl/source/source18.bal", + "description": "", "items": [ { "label": "type", @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -610,11 +611,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -634,11 +635,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, @@ -667,11 +668,11 @@ { "range": { "start": { - "line": 0, + "line": 2, "character": 0 }, "end": { - "line": 0, + "line": 2, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config2.json index 833797ce01fc..8af9aae4efac 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config2.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "service_decl/source/source2.bal", + "description": "", "items": [ { "label": "TestObject", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -320,11 +321,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config3.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config3.json index c17c4a7e6696..56b7edc9e3db 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config3.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "service_decl/source/source3.bal", + "description": "", "items": [ { "label": "TestObject", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -320,11 +321,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config4.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config4.json index 0c4a6ac45d1d..bb09d14f6fac 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config4.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "service_decl/source/source4.bal", + "description": "", "items": [ { "label": "TestObject", @@ -43,11 +44,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -67,11 +68,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -91,11 +92,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -115,11 +116,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +140,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -212,11 +213,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -236,11 +237,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -260,11 +261,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -284,11 +285,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -308,11 +309,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6c.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6c.json index 2878285984c6..c08219919c34 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6c.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6c.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "service_decl/source/source6c.bal", + "description": "", "items": [ { "label": "l1", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -299,11 +300,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6d.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6d.json index 9f38ff75b791..5810815e5bec 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6d.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6d.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "service_decl/source/source6d.bal", + "description": "", "items": [ { "label": "l1", @@ -34,11 +35,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -58,11 +59,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -82,11 +83,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -106,11 +107,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -130,11 +131,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -299,11 +300,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6g.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6g.json index 373866bfe905..ce11d30ede0d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6g.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config6g.json @@ -4,6 +4,7 @@ "character": 26 }, "source": "service_decl/source/source6g.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config7.json b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config7.json index 6157d4226130..83e92a2fd5c5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/service_decl/config/config7.json @@ -4,6 +4,7 @@ "character": 1 }, "source": "service_decl/source/source7.bal", + "description": "", "items": [ { "label": "type", @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -440,11 +441,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -464,11 +465,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -562,11 +563,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -586,11 +587,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -610,11 +611,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -634,11 +635,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -667,11 +668,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config1.json index 12a959e48946..6d16fd4be776 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config1.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "statement_context/source/assignment_stmt_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -452,11 +453,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -476,11 +477,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -500,11 +501,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -524,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -548,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config2.json index c7075dbe3498..37e8d8c02bac 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config2.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "statement_context/source/assignment_stmt_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -452,11 +453,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -476,11 +477,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -500,11 +501,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -524,11 +525,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -548,11 +549,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config3.json index 218b52c6fbd1..37f002ec38b5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config3.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "statement_context/source/assignment_stmt_ctx_source3.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -470,11 +471,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -494,11 +495,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -518,11 +519,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -566,11 +567,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config8.json index 6c7a008200a7..e69fab20339b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config8.json @@ -4,6 +4,7 @@ "character": 16 }, "source": "statement_context/source/assignment_stmt_ctx_source8.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -477,11 +478,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -501,11 +502,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -525,11 +526,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -549,11 +550,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -573,11 +574,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config9.json index 31823670e336..d11411fb10ef 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/assignment_stmt_ctx_config9.json @@ -63,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -87,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +480,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +504,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +528,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +552,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -576,11 +576,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/do_stmt_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/do_stmt_ctx_config1.json index 1fedaf566fdf..19c4d357269c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/do_stmt_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/do_stmt_ctx_config1.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "statement_context/source/do_stmt_ctx_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -542,11 +543,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -647,11 +648,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -671,11 +672,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -695,11 +696,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -719,11 +720,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -752,11 +753,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config14.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config14.json index 9dc8d5edec44..a36e7308ddb4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config14.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config14.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "statement_context/source/match_stmt_ctx_source14.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -241,11 +242,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -265,11 +266,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -289,11 +290,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -313,11 +314,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -337,11 +338,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config15.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config15.json index 634d42a79aa9..c9073f3a10f2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config15.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/match_stmt_ctx_source15.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -241,11 +242,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -265,11 +266,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -289,11 +290,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -313,11 +314,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -337,11 +338,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config16.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config16.json index afb7b7501e4b..425263813e28 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config16.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config16.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "statement_context/source/match_stmt_ctx_source16.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -241,11 +242,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -265,11 +266,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -289,11 +290,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -313,11 +314,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -337,11 +338,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config2.json index f4b193ab3f65..61670b3bb524 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config2.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "statement_context/source/match_stmt_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -576,11 +577,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config20.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config20.json index 44ecfe3501be..53bd223f7f09 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config20.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config20.json @@ -4,6 +4,7 @@ "character": 19 }, "source": "statement_context/source/match_stmt_ctx_source20.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config21.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config21.json index 91d765a49a2e..1b95cf1e6827 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config21.json @@ -4,6 +4,7 @@ "character": 20 }, "source": "statement_context/source/match_stmt_ctx_source21.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config22.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config22.json index 24b0e323fd00..03708757cbf9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config22.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config22.json @@ -4,6 +4,7 @@ "character": 31 }, "source": "statement_context/source/match_stmt_ctx_source22.bal", + "description": "", "items": [ { "label": "ballerina/lang.runtime", @@ -17,11 +18,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -41,11 +42,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -480,11 +481,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -504,11 +505,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -528,11 +529,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -552,11 +553,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config4.json index 133d454427f8..34bac637b05d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config4.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "statement_context/source/match_stmt_ctx_source4.bal", + "description": "", "items": [ { "label": "true", @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config5.json index 4b25f517eae7..9d83746e8eba 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/match_stmt_ctx_config5.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/match_stmt_ctx_source5.bal", + "description": "", "items": [ { "label": "true", @@ -109,11 +110,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -133,11 +134,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -269,11 +270,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -293,11 +294,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1.json index 8354acd3d9b9..576ba4860e40 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "statement_context/source/onfail_clause_ctx_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1a.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1a.json index 03d529593d51..446f5fa3fdd9 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config1a.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "statement_context/source/onfail_clause_ctx_source1a.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2.json index f43f2fd795a4..6fbcb790bf1f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "statement_context/source/onfail_clause_ctx_source2.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2a.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2a.json index 62e1dcacc1af..483133dca87b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2a.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "statement_context/source/onfail_clause_ctx_source2a.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2c.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2c.json index ab164a23b3a9..3502d99aa1b7 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2c.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config2c.json @@ -4,6 +4,7 @@ "character": 14 }, "source": "statement_context/source/onfail_clause_ctx_source2c.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -195,11 +196,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -219,11 +220,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -243,11 +244,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config3.json index ecdb89c7b3c7..f465947955d4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config3.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "statement_context/source/onfail_clause_ctx_source3.bal", + "description": "", "items": [ { "label": "xmlns", @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -435,11 +436,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -659,11 +660,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -683,11 +684,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -707,11 +708,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -731,11 +732,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -764,11 +765,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config4.json index 9a747c7a57d6..516cd2d0a391 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config4.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "statement_context/source/onfail_clause_ctx_source4.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5.json index b8828f6e6eca..4bf20c5c99ba 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "statement_context/source/onfail_clause_ctx_source5.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5a.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5a.json index 8419376c453d..f481413bed72 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config5a.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "statement_context/source/onfail_clause_ctx_source5a.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -642,11 +643,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -666,11 +667,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -690,11 +691,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -714,11 +715,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -747,11 +748,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6.json index 97f979c5bbdd..ab17a3f2d6cc 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "statement_context/source/onfail_clause_ctx_source6.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,7 +533,7 @@ "documentation": { "right": { "kind": "markdown", - "value": "**Package:** _._ \n \n \n**Params** \n- `$CompilationError$` varToMatch" + "value": "**Package:** _._ \n \n \n**Params** \n- `` varToMatch" } }, "sortText": "C", @@ -646,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -670,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -694,11 +695,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -718,11 +719,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6a.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6a.json index 418af73ddee4..4672219172c4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/onfail_clause_ctx_config6a.json @@ -4,6 +4,7 @@ "character": 7 }, "source": "statement_context/source/onfail_clause_ctx_source6a.bal", + "description": "", "items": [ { "label": "xmlns", @@ -369,11 +370,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -393,11 +394,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,7 +533,7 @@ "documentation": { "right": { "kind": "markdown", - "value": "**Package:** _._ \n \n \n**Params** \n- `$CompilationError$` varToMatch" + "value": "**Package:** _._ \n \n \n**Params** \n- `` varToMatch" } }, "sortText": "C", @@ -646,11 +647,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -670,11 +671,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -694,11 +695,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -718,11 +719,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -751,11 +752,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config1.json index b19f24b189bf..758b96546353 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config1.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "statement_context/source/return_stmt_ctx_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -625,11 +626,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -649,11 +650,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -673,11 +674,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -697,11 +698,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -730,11 +731,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config12.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config12.json index 66ae48d1301b..960d6c376d6b 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config12.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/return_stmt_ctx_source12.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -617,11 +618,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -641,11 +642,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -665,11 +666,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -689,11 +690,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -755,11 +756,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config13.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config13.json index 923fa42d0681..f52b771d7bd0 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config13.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config13.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/return_stmt_ctx_source13.bal", + "description": "", "items": [ { "label": "xmlns", @@ -351,11 +352,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -375,11 +376,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -399,11 +400,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -423,11 +424,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -447,11 +448,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -617,11 +618,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -641,11 +642,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -665,11 +666,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -689,11 +690,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -755,11 +756,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config2.json index c2bf3d6f11fa..730d3c1a9ffb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config2.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "statement_context/source/return_stmt_ctx_source2.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -625,11 +626,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -649,11 +650,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -673,11 +674,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -697,11 +698,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -763,11 +764,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config3.json index f46d0d7c6282..5b412ddcf34c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config3.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "statement_context/source/return_stmt_ctx_source3.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -624,11 +625,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -648,11 +649,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -672,11 +673,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -696,11 +697,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -729,11 +730,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config4.json index 505ec5bbf89b..732a546a44de 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config4.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "statement_context/source/return_stmt_ctx_source4.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -616,11 +617,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -721,11 +722,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config5.json index a6af548c1819..299598275ed4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/return_stmt_ctx_config5.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/return_stmt_ctx_source5.bal", + "description": "", "items": [ { "label": "xmlns", @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -432,11 +433,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -456,11 +457,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -616,11 +617,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -640,11 +641,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -664,11 +665,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -688,11 +689,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -754,11 +755,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config1.json index 97200ddace8b..7cdef1b0de41 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config1.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "statement_context/source/transaction_source1.bal", + "description": "", "items": [ { "label": "xmlns", @@ -378,11 +379,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -402,11 +403,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -426,11 +427,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -450,11 +451,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -474,11 +475,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -657,11 +658,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -681,11 +682,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -705,11 +706,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -729,11 +730,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -762,11 +763,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config2.json index 21f185eb4318..08ec88103ddb 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config2.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "statement_context/source/transaction_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -468,11 +469,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -492,11 +493,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -516,11 +517,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -564,11 +565,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config3.json index 80f3f9bdf3f9..be40b2e65f22 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/transaction_config3.json @@ -4,6 +4,7 @@ "character": 18 }, "source": "statement_context/source/transaction_source3.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -468,11 +469,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -492,11 +493,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -516,11 +517,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -564,11 +565,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config11.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config11.json index 5b3076fec98b..53615c1721d2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config11.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "statement_context/source/wait_action_ctx_source11.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config12.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config12.json index 8dbd38b4d9cf..bb199ee630e2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/wait_action_ctx_config12.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "statement_context/source/wait_action_ctx_source12.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -465,11 +466,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -489,11 +490,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -513,11 +514,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config3.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config3.json index 8383a8d0a702..76b5b9710caa 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config3.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "statement_context/source/xmlns_ctx_source3.bal", + "description": "", "items": [ { "label": "CONST1", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +201,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config4.json index f2e94ed23594..9906ab862843 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/statement_context/config/xmlns_ctx_config4.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "statement_context/source/xmlns_ctx_source4.bal", + "description": "", "items": [ { "label": "CONST1", @@ -40,11 +41,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -64,11 +65,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -88,11 +89,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -112,11 +113,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -136,11 +137,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -200,11 +201,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config4.json b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config4.json index c04ab450f30b..1e6e9851b5d5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config4.json @@ -4,6 +4,7 @@ "character": 34 }, "source": "template_expression/source/string_template_expression_source4.bal", + "description": "", "items": [ { "label": "error constructor", @@ -115,11 +116,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +140,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +164,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -187,11 +188,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -211,11 +212,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -486,11 +487,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -510,11 +511,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -534,11 +535,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -558,11 +559,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -582,11 +583,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config5.json b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config5.json index 6a32596ca36e..8366deac47c2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/string_template_expression_config5.json @@ -4,6 +4,7 @@ "character": 35 }, "source": "template_expression/source/string_template_expression_source5.bal", + "description": "", "items": [ { "label": "error constructor", @@ -115,11 +116,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +140,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +164,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -187,11 +188,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -211,11 +212,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -486,11 +487,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -510,11 +511,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -534,11 +535,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -558,11 +559,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -582,11 +583,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config1.json index f92db43b1afb..39d1177f72af 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config1.json @@ -4,6 +4,7 @@ "character": 41 }, "source": "template_expression/source/xml_template_expression_source1.bal", + "description": "", "items": [ { "label": "error constructor", @@ -115,11 +116,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +140,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +164,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -187,11 +188,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -211,11 +212,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -516,11 +517,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -564,11 +565,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -588,11 +589,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -612,11 +613,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config2.json index 36ff2c72e68c..4033e08b2822 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/template_expression/config/xml_template_expression_config2.json @@ -4,6 +4,7 @@ "character": 42 }, "source": "template_expression/source/xml_template_expression_source2.bal", + "description": "", "items": [ { "label": "error constructor", @@ -115,11 +116,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -139,11 +140,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -163,11 +164,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -187,11 +188,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -211,11 +212,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -516,11 +517,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -540,11 +541,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -564,11 +565,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -588,11 +589,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -612,11 +613,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config1.json b/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config1.json index ea19b5098299..6a35b985a974 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config1.json @@ -4,6 +4,7 @@ "character": 22 }, "source": "type_def/source/source1.bal", + "description": "", "items": [ { "label": "TestEnum", @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -245,11 +246,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +409,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -441,11 +442,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config2.json b/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config2.json index 7d5ebf43a65f..10be4bbc5dad 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/type_def/config/config2.json @@ -4,6 +4,7 @@ "character": 23 }, "source": "type_def/source/source2.bal", + "description": "", "items": [ { "label": "TestEnum", @@ -141,11 +142,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -328,11 +329,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -352,11 +353,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -376,11 +377,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -466,11 +467,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/array_typedesc5.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/array_typedesc5.json index d6b976e0640f..31c40bc02c22 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/array_typedesc5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/array_typedesc5.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "typedesc_context/source/array_typedesc5.bal", + "description": "", "items": [ { "label": "xmlns", @@ -376,11 +377,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -400,11 +401,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -424,11 +425,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -448,11 +449,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -472,11 +473,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -655,11 +656,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -679,11 +680,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -703,11 +704,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -727,11 +728,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -776,11 +777,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc1.json index 38498ec68958..505d27161f27 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc1.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "typedesc_context/source/distinct_typedesc1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -243,11 +244,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc2.json index c6013febd0dd..ad9763047c63 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/distinct_typedesc2.json @@ -4,6 +4,7 @@ "character": 28 }, "source": "typedesc_context/source/distinct_typedesc2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -243,11 +244,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -267,11 +268,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -291,11 +292,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -315,11 +316,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc1.json index 238866c181a1..5cb70bfc980f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc1.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "typedesc_context/source/error_typedesc1.bal", + "description": "", "items": [ { "label": "record {}", @@ -87,11 +88,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +112,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +136,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +160,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -183,11 +184,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +248,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +272,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +296,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +320,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -343,11 +344,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc2.json index 777e34cb93b4..d5cc37741e22 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc2.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/error_typedesc2.bal", + "description": "", "items": [ { "label": "record {}", @@ -87,11 +88,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +112,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +136,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +160,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -183,11 +184,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +248,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +272,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +296,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +320,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -343,11 +344,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc5.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc5.json index c4c8a83e0a5d..bdf7075e632f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/error_typedesc5.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "typedesc_context/source/error_typedesc5.bal", + "description": "", "items": [ { "label": "record {}", @@ -87,11 +88,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +112,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +136,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +160,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -183,11 +184,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +248,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +272,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +296,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +320,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -343,11 +344,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc1.json index 91e346f45891..764974257757 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc1.json @@ -4,6 +4,7 @@ "character": 31 }, "source": "typedesc_context/source/function_typedesc1.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -165,11 +166,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -189,11 +190,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -213,11 +214,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -237,11 +238,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -261,11 +262,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -325,11 +326,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -349,11 +350,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -373,11 +374,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -397,11 +398,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -430,11 +431,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc12.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc12.json index e28ba03075b4..8c8e6de6b8d1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc12.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc12.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "typedesc_context/source/function_typedesc12.bal", + "description": "", "items": [ { "label": "TestMap2", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15.json index 5bd1b6b65b2c..60c1c6312a4e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15.json @@ -4,6 +4,7 @@ "character": 35 }, "source": "typedesc_context/source/function_typedesc15.bal", + "description": "", "items": [ { "label": "TestMap2", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -449,11 +450,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15a.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15a.json index 4193e12331c4..cc35b2c0c2a2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15a.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15a.json @@ -63,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -87,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -498,11 +498,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -522,11 +522,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -546,11 +546,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -570,11 +570,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -594,11 +594,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15b.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15b.json index a7ef0369d066..a25869cb7c01 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15b.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc15b.json @@ -63,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -87,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -498,11 +498,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -522,11 +522,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -546,11 +546,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -570,11 +570,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -594,11 +594,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc3.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc3.json index 4c5056df5184..c1fcea4d8e1f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc3.json @@ -4,6 +4,7 @@ "character": 32 }, "source": "typedesc_context/source/function_typedesc3.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -430,11 +431,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc4.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc4.json index d59158d9a556..e195ac008d95 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc4.json @@ -4,6 +4,7 @@ "character": 36 }, "source": "typedesc_context/source/function_typedesc4.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -430,11 +431,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc5.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc5.json index c77b706d89a3..d6d1be552f60 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc5.json @@ -4,6 +4,7 @@ "character": 37 }, "source": "typedesc_context/source/function_typedesc5.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -430,11 +431,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc8.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc8.json index acc7389ac74f..92edf5db15be 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc8.json @@ -4,6 +4,7 @@ "character": 52 }, "source": "typedesc_context/source/function_typedesc8.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -457,11 +458,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc9.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc9.json index f9145e42b856..d8189862f04d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/function_typedesc9.json @@ -4,6 +4,7 @@ "character": 53 }, "source": "typedesc_context/source/function_typedesc9.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -344,11 +345,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -368,11 +369,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -392,11 +393,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -416,11 +417,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -457,11 +458,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/future_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/future_typedesc1.json index 299c9d5ca095..fd6ab462f9d5 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/future_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/future_typedesc1.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/future_typedesc1.bal", + "description": "", "items": [ { "label": "TestMap3", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc1.json index 201538c2d18c..fb7bdb4be6db 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc1.json @@ -4,6 +4,7 @@ "character": 33 }, "source": "typedesc_context/source/intersection_type_typedesc1.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc2.json index 3f18767913b4..7a01424e1ca6 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/intersection_type_typedesc2.json @@ -4,6 +4,7 @@ "character": 34 }, "source": "typedesc_context/source/intersection_type_typedesc2.bal", + "description": "", "items": [ { "label": "TestRecord1", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc1.json index a8d5faee3762..38bdf8210a9f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc1.json @@ -4,6 +4,7 @@ "character": 8 }, "source": "typedesc_context/source/map_typedesc1.bal", + "description": "", "items": [ { "label": "TEST_CONST", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc2.json index d9b50fc08d2e..f2ea2d06c073 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/map_typedesc2.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "typedesc_context/source/map_typedesc2.bal", + "description": "", "items": [ { "label": "TEST_CONST", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc11.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc11.json index 18da1058c7a5..1b555dfaba5e 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc11.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc11.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "typedesc_context/source/object_typedesc11.bal", + "description": "", "items": [ { "label": "ObjectName", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +313,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +337,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +361,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +385,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -417,11 +418,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc3.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc3.json index bf5f1bde57af..7e14c4a4c674 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc3.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc3.json @@ -4,6 +4,7 @@ "character": 4 }, "source": "typedesc_context/source/object_typedesc3.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc4.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc4.json index a3dc911de26f..faca70036299 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc4.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "typedesc_context/source/object_typedesc4.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc5.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc5.json index 37f8007bc8bc..e13c1fab5e18 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc5.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/object_typedesc5.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc6.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc6.json index 9154d2614184..bdb5babcf6fe 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc6.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc6.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "typedesc_context/source/object_typedesc6.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc7.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc7.json index 2041fea73e2c..d5e8ffed51e2 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc7.json @@ -4,6 +4,7 @@ "character": 25 }, "source": "typedesc_context/source/object_typedesc7.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc8.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc8.json index cbe848035d70..bf7cb6ebc9ef 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/object_typedesc8.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "typedesc_context/source/object_typedesc8.bal", + "description": "", "items": [ { "label": "public", @@ -179,11 +180,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -203,11 +204,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -227,11 +228,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -251,11 +252,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -275,11 +276,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -339,11 +340,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -363,11 +364,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -387,11 +388,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -411,11 +412,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -444,11 +445,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc1.json index 303b085cbdf3..8296014082db 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc1.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/stream_typedesc1.bal", + "description": "", "items": [ { "label": "TestMap3", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc4.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc4.json index e460eeca1b1e..4514cd2ef980 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc4.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/stream_typedesc4.json @@ -4,6 +4,7 @@ "character": 15 }, "source": "typedesc_context/source/stream_typedesc4.bal", + "description": "", "items": [ { "label": "TestMap3", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc1.json index 56ed8dfda7cf..791d81d5ed6c 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc1.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "typedesc_context/source/table_typedesc1.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -320,11 +321,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc10.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc10.json index 0ed7c50aadf3..70314e8b16c7 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc10.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc10.json @@ -4,6 +4,7 @@ "character": 21 }, "source": "typedesc_context/source/table_typedesc10.bal", + "description": "", "items": [ { "label": "EmployeeId", @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -277,11 +278,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -413,11 +414,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -446,11 +447,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc2.json index 80be0fb65cdf..1012bdf980d3 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/table_typedesc2.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/table_typedesc2.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -224,11 +225,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -248,11 +249,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -272,11 +273,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -296,11 +297,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -320,11 +321,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc1.json index 20055222dd48..f2a813c0df70 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc1.json @@ -4,6 +4,7 @@ "character": 6 }, "source": "typedesc_context/source/tuple_typedesc1.bal", + "description": "", "items": [ { "label": "StrandData", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc2.json index bd8a11defda8..f05e17cb252a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc2.json @@ -4,6 +4,7 @@ "character": 10 }, "source": "typedesc_context/source/tuple_typedesc2.bal", + "description": "", "items": [ { "label": "StrandData", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc5.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc5.json index 4c8f372b1e51..828b9ff2f77d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc5.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/tuple_typedesc5.json @@ -4,6 +4,7 @@ "character": 17 }, "source": "typedesc_context/source/tuple_typedesc5.bal", + "description": "", "items": [ { "label": "StrandData", @@ -125,11 +126,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -149,11 +150,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -173,11 +174,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -197,11 +198,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -221,11 +222,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -285,11 +286,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -309,11 +310,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -333,11 +334,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -357,11 +358,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -390,11 +391,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc1.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc1.json index 331a381df678..284f6f58e86f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc1.json @@ -4,6 +4,7 @@ "character": 9 }, "source": "typedesc_context/source/union_typedesc1.bal", + "description": "", "items": [ { "label": "TestMap2", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -422,11 +423,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc2.json b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc2.json index eda1e6707590..719919f6edab 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/typedesc_context/config/union_typedesc2.json @@ -4,6 +4,7 @@ "character": 11 }, "source": "typedesc_context/source/union_typedesc2.bal", + "description": "", "items": [ { "label": "TestMap2", @@ -157,11 +158,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -181,11 +182,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -205,11 +206,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -229,11 +230,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -253,11 +254,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -317,11 +318,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -341,11 +342,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -365,11 +366,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -389,11 +390,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -490,11 +491,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config1.json index 24f0f7c10ba1..e2a0dc4fa7f4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config1.json @@ -4,6 +4,7 @@ "character": 14 }, "source": "variable-declaration/source/lsproject/main.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -182,11 +183,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -547,11 +548,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -571,11 +572,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -595,11 +596,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -619,11 +620,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -643,11 +644,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config2.json index 7854b58bad3c..135f6f926d85 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/project_var_def_ctx_config2.json @@ -4,6 +4,7 @@ "character": 27 }, "source": "variable-declaration/source/lsproject/main.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -182,11 +183,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -555,11 +556,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -579,11 +580,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -603,11 +604,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -627,11 +628,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -651,11 +652,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config1.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config1.json index dfcfe90f0533..b09e8e0d5aa1 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config1.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config1.json @@ -4,6 +4,7 @@ "character": 12 }, "source": "variable-declaration/source/var_def_ctx_source1.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -507,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -531,11 +532,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -555,11 +556,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config2.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config2.json index 0ee35e062bd5..da34e7196b79 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config2.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config2.json @@ -4,6 +4,7 @@ "character": 13 }, "source": "variable-declaration/source/var_def_ctx_source2.bal", + "description": "", "items": [ { "label": "start", @@ -62,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -86,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -110,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -134,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -158,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -459,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -483,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -507,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -531,11 +532,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -555,11 +556,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config7.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config7.json index 46bbe0b285b1..87fec939cedf 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config7.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config7.json @@ -63,11 +63,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -87,11 +87,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -111,11 +111,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -135,11 +135,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -159,11 +159,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -460,11 +460,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -484,11 +484,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -508,11 +508,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -532,11 +532,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -556,11 +556,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config8.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config8.json index b4a2dbaa3d3a..f5c65903322d 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config8.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config8.json @@ -4,6 +4,7 @@ "character": 38 }, "source": "variable-declaration/source/var_def_ctx_source8.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config9.json b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config9.json index 1ead73bbbaa6..778a949814cc 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config9.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/variable-declaration/config/var_def_ctx_config9.json @@ -4,6 +4,7 @@ "character": 39 }, "source": "variable-declaration/source/var_def_ctx_source9.bal", + "description": "", "items": [ { "label": "module1", @@ -26,11 +27,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -50,11 +51,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -74,11 +75,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -98,11 +99,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -122,11 +123,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -186,11 +187,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -210,11 +211,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -234,11 +235,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -258,11 +259,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -282,11 +283,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, From 3c5da0abd5e7b28943ed6e753698eb3c823db6b4 Mon Sep 17 00:00:00 2001 From: Tharushi Jayasekara Date: Tue, 18 Jul 2023 10:15:54 +0530 Subject: [PATCH 6/7] Fix failing compiler plugin completion tests --- ...plugin_completion_single_file_config1.json | 28 +++++++++---------- ...piler_plugin_with_completions_config1.json | 28 +++++++++---------- ...piler_plugin_with_completions_config2.json | 28 +++++++++---------- 3 files changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_completion_single_file_config1.json b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_completion_single_file_config1.json index ef541c71935d..8641deea9ad1 100644 --- a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_completion_single_file_config1.json +++ b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_completion_single_file_config1.json @@ -215,11 +215,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config1.json b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config1.json index fedbf45dc0fb..3bd7585eba4f 100644 --- a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config1.json +++ b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config1.json @@ -215,11 +215,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -239,11 +239,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -263,11 +263,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -287,11 +287,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -311,11 +311,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -335,11 +335,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -359,11 +359,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config2.json b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config2.json index a6e7ac535e4a..175ce69bae1c 100644 --- a/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config2.json +++ b/tests/language-server-integration-tests/src/test/resources/completion/compiler-plugins/config/compiler_plugin_with_completions_config2.json @@ -192,11 +192,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -216,11 +216,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +240,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +264,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +288,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +312,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +336,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, From 8d59e783a84e94ac5a91d5e2c3079897af79ef00 Mon Sep 17 00:00:00 2001 From: malinthar Date: Fri, 11 Aug 2023 10:49:32 +0530 Subject: [PATCH 7/7] Fix failing tests --- .../module_var_context/config/config20.json | 40 +++++++++--------- .../module_var_context/config/config21.json | 40 +++++++++--------- .../record_type_desc/config/config15.json | 41 ++++++++++--------- 3 files changed, 61 insertions(+), 60 deletions(-) diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config20.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config20.json index 5887e56a4a1e..665b2029ef6f 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config20.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config20.json @@ -192,11 +192,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -216,11 +216,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +240,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +264,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +288,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +312,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +336,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +360,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +384,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config21.json b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config21.json index af34fc9ae6fd..71134fe1c96a 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config21.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/module_var_context/config/config21.json @@ -192,11 +192,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -216,11 +216,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -240,11 +240,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -264,11 +264,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -288,11 +288,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -312,11 +312,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -336,11 +336,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -360,11 +360,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -384,11 +384,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -408,11 +408,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, diff --git a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config15.json b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config15.json index b7cc81d8983d..839d2a95ded8 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config15.json +++ b/language-server/modules/langserver-core/src/test/resources/completion/record_type_desc/config/config15.json @@ -4,6 +4,7 @@ "character": 5 }, "source": "record_type_desc/source/source15.bal", + "description": "", "items": [ { "label": "StrandData", @@ -199,11 +200,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -223,11 +224,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -247,11 +248,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -271,11 +272,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -295,11 +296,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -319,11 +320,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -343,11 +344,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -367,11 +368,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -391,11 +392,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } }, @@ -415,11 +416,11 @@ { "range": { "start": { - "line": 0, + "line": 1, "character": 0 }, "end": { - "line": 0, + "line": 1, "character": 0 } },