From c720cf8370e2c904eb835e8cb7b3805026317255 Mon Sep 17 00:00:00 2001 From: efr15 <129841296+efr15@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:47:42 +0100 Subject: [PATCH] WI #2605 Fix wrong URI management (#2607) --- .../input/AddCharBeginLine.tlsp | 16 ++++----- .../AddCharEndLine/input/AddCharEndLine.tlsp | 16 ++++----- .../input/AddCharMiddleLine.tlsp | 16 ++++----- .../input/AddLineJumpMiddleLine.tlsp | 16 ++++----- .../input/AddMultipleLines.tlsp | 16 ++++----- .../AddMultipleLinesWithEmptyLineInside.tlsp | 32 ++++++++--------- .../input/AmbiguousVariablesCompletion.tlsp | 10 +++--- .../AmbiguousVariablesCompletionNoTC.tlsp | 10 +++--- .../input/BeginTopLineEnterEnter.tlsp | 6 ++-- .../input/CfgDataInformation.tlsp | 6 ++-- .../input/CompletionAfterAddTo.tlsp | 4 +-- .../input/CompletionAfterBetweenColons.tlsp | 10 +++--- .../CompletionAfterDotFromTypedDataDef.tlsp | 6 ++-- .../input/CompletionAfterWhen.tlsp | 4 +-- .../input/CompletionAfterWhen2.tlsp | 4 +-- .../CompletionCallDuplicateProcedure.tlsp | 6 ++-- .../input/CompletionOnPartialLibraryName.tlsp | 4 +-- .../input/CompletionOnPartialTypeName.tlsp | 4 +-- .../input/CompletionOutputParamEmptyType.tlsp | 2 +- .../input/CompletionUsingCopy.tlsp | 6 ++-- .../input/CompletionWithNestedProgram.tlsp | 18 +++++----- .../input/CompletionWithNestedType.tlsp | 4 +-- .../input/CopyEditAddDataItem.tlsp | 6 ++-- .../input/DeleteCharBeginLine.tlsp | 16 ++++----- .../input/DeleteCharEndLine.tlsp | 16 ++++----- .../input/DeleteCharMiddleLine.tlsp | 16 ++++----- ...DeleteMultipleLineButStopInMiddleLine.tlsp | 16 ++++----- ...DeleteMultipleLineWithEmptyLineInside.tlsp | 16 ++++----- .../input/DeleteMultipleLines.tlsp | 16 ++++----- .../DeleteMultipleLinesButStopAtEndLine.tlsp | 16 ++++----- .../input/DisplayCompletion.tlsp | 8 ++--- .../input/DisplayCompletionNoTC.tlsp | 8 ++--- .../input/EI_ExtractRemarksData.tlsp | 6 ++-- .../EI_ExtractRemarksData_CPYInsideCPX.tlsp | 6 ++-- .../EI_ExtractRemarksData_DebugLines.tlsp | 6 ++-- .../input/EmptyExecStatement.tlsp | 6 ++-- .../FirstLineEditCommentBeforeIdentDiv.tlsp | 28 +++++++-------- .../input/FormalizedCommentIncScan.tlsp | 8 ++--- .../input/GetDataLayoutRequest.tlsp | 8 ++--- .../input/GlobalStorageCompletion.tlsp | 12 +++---- .../GlobalWithNestedProgramCompletion.tlsp | 8 ++--- .../GoToDefinition/input/GoToDefinition.tlsp | 2 +- .../IfCompletion/input/IfCompletion.tlsp | 6 ++-- .../input/IncrementalErrorHandling.tlsp | 4 +-- .../IncrementalThruTokenInsideCopies.tlsp | 4 +-- .../input/RemoveDataDivisionCtrlZ.tlsp | 8 ++--- .../input/InsertWithinContinuations.tlsp | 6 ++-- .../input/MoveZeroSpaceCompletion.tlsp | 10 +++--- .../input/MultiCommentSyntaxColoring.tlsp | 26 +++++++------- .../input/MultiLineBlockDeleteUndo.tlsp | 6 ++-- .../input/MultiLineCommentIncScan.tlsp | 18 +++++----- .../OfCompletion/input/OfCompletion.tlsp | 8 ++--- .../LSRTests/OnHover/input/OnHover.tlsp | 2 +- .../OnHoverDisplayVariableDefinition.tlsp | 2 +- ...overDisplayVariableDefinitionFromCopy.tlsp | 2 +- .../OutlineRefresh/input/OutlineRefresh.tlsp | 18 +++++----- .../input/PerformCompletion.tlsp | 6 ++-- .../input/ProcedureCompletion.tlsp | 14 ++++---- .../ProcedureCompletionCaseInsensitive.tlsp | 10 +++--- ...cedureCompletionInputInoutOutput-Case.tlsp | 34 +++++++++--------- ...eCompletionInputInoutOutput-NoContext.tlsp | 36 +++++++++---------- .../ProcedureCompletionInputInoutOutput.tlsp | 28 +++++++-------- .../input/ProcedureCompletionNoParam.tlsp | 8 ++--- ...CompletionPotentialChildrenWithNoName.tlsp | 18 +++++----- .../QualifiedNameCompletionWithFiller.tlsp | 8 ++--- .../input/RefreshCopyNotif.tlsp | 4 +-- .../RemoveDataDivisionCtrlZWithDiag.tlsp | 8 ++--- .../input/replacingSyntaxOff.tlsp | 4 +-- .../input/SelectEndSuppressSaveUndo.tlsp | 4 +-- .../input/SetToAddressOfCompletion.tlsp | 14 ++++---- .../input/SimpleMoveToCompletion.tlsp | 10 +++--- .../input/SimpleMoveToCompletionNoTC.tlsp | 10 +++--- .../input/SupprEndLineEmptyLine.tlsp | 16 ++++----- .../input/SupprEndLineTextedLine.tlsp | 16 ++++----- ...prMultipleLinesFromMiddlePreviousLine.tlsp | 16 ++++----- .../TypeCompletion/input/TypeCompletion.tlsp | 8 ++--- .../VariableQualifiedSeparatorCompletion.tlsp | 10 +++--- .../VaraibleQualifiedNameCompletion2.tlsp | 32 ++++++++--------- TypeCobol.LanguageServer/TypeCobolServer.cs | 9 +++-- .../Text Document/TextDocumentIdentifier.cs | 14 +++++++- 80 files changed, 456 insertions(+), 441 deletions(-) diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddCharBeginLine/input/AddCharBeginLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddCharBeginLine/input/AddCharBeginLine.tlsp index a97c4aa77..62a10f571 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddCharBeginLine/input/AddCharBeginLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddCharBeginLine/input/AddCharBeginLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nCDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nCDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nCDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nCDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,12:CDATA]\\r\\n[14,21:DIVISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddCharEndLine/input/AddCharEndLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddCharEndLine/input/AddCharEndLine.tlsp index 4f83d87ac..131edcc1f 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddCharEndLine/input/AddCharEndLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddCharEndLine/input/AddCharEndLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.C\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.C\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.C\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.C\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21:.]\\r\\n[22,22:C]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddCharMiddleLine/input/AddCharMiddleLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddCharMiddleLine/input/AddCharMiddleLine.tlsp index 11d6ef70c..961e7639b 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddCharMiddleLine/input/AddCharMiddleLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddCharMiddleLine/input/AddCharMiddleLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVCISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVCISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,21:DIVCISION]\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,21:DIVCISION]\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVCISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVCISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,21:DIVCISION]\\r\\n[22,22+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,21:DIVCISION]\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,21:DIVCISION]\\r\\n\\r\\n[[SentenceEnd]] [22,22+:.] --> [22,22+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddLineJumpMiddleLine/input/AddLineJumpMiddleLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddLineJumpMiddleLine/input/AddLineJumpMiddleLine.tlsp index e4b8f7e3b..05b1cd7d0 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddLineJumpMiddleLine/input/AddLineJumpMiddleLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddLineJumpMiddleLine/input/AddLineJumpMiddleLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA \\r\\nDIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA \\r\\nDIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [16,16+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [16,16+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA \\r\\nDIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA \\r\\nDIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[8,15:DIVISION]\\r\\n[16,16+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [16,16+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [16,16+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLines/input/AddMultipleLines.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLines/input/AddMultipleLines.tlsp index 27b89ea5a..9880b2942 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLines/input/AddMultipleLines.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLines/input/AddMultipleLines.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLinesWithEmptyLineInside/input/AddMultipleLinesWithEmptyLineInside.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLinesWithEmptyLineInside/input/AddMultipleLinesWithEmptyLineInside.tlsp index 4bbf551cc..f211829da 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLinesWithEmptyLineInside/input/AddMultipleLinesWithEmptyLineInside.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AddMultipleLinesWithEmptyLineInside/input/AddMultipleLinesWithEmptyLineInside.tlsp @@ -39,67 +39,67 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\\r\\n\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\\r\\n\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n01 W-DateSec TYPE Date.\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-DateSec]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletion/input/AmbiguousVariablesCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletion/input/AmbiguousVariablesCompletion.tlsp index 2fc178957..b2d1b6890 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletion/input/AmbiguousVariablesCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletion/input/AmbiguousVariablesCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 2, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol amb is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol amb is not referenced\"}]}}" }, { "category": 2, @@ -107,7 +107,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Lev is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Lev is not referenced\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletionNoTC/input/AmbiguousVariablesCompletionNoTC.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletionNoTC/input/AmbiguousVariablesCompletionNoTC.tlsp index 42b86c502..d5b583605 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletionNoTC/input/AmbiguousVariablesCompletionNoTC.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/AmbiguousVariablesCompletionNoTC/input/AmbiguousVariablesCompletionNoTC.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 2, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol amb is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol amb is not referenced\"}]}}" }, { "category": 2, @@ -107,7 +107,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Lev is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL061931428110445951281.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":20},\"end\":{\"line\":13,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Lev is not referenced\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/BeginTopLineEnterEnter/input/BeginTopLineEnterEnter.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/BeginTopLineEnterEnter/input/BeginTopLineEnterEnter.tlsp index 53d8c521b..cca22a7e2 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/BeginTopLineEnterEnter/input/BeginTopLineEnterEnter.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/BeginTopLineEnterEnter/input/BeginTopLineEnterEnter.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52426283183559897214.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CfgDataInformation/input/CfgDataInformation.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CfgDataInformation/input/CfgDataInformation.tlsp index b4bdc1549..089757427 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CfgDataInformation/input/CfgDataInformation.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CfgDataInformation/input/CfgDataInformation.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" }, { "category": 1, @@ -23,7 +23,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" }, { "category": 1, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/workspaces/runtime-GEFTest2/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/RE/RE.MAYANJE2.SOURCE/DVZZJCM6.cbl\",\"diagnostics\":[]}}" }, { "category": 1, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterAddTo/input/CompletionAfterAddTo.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterAddTo/input/CompletionAfterAddTo.tlsp index 585484762..e83451bc8 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterAddTo/input/CompletionAfterAddTo.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterAddTo/input/CompletionAfterAddTo.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/TCOMFL062610805482392753007.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... goback'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/TCOMFL062610805482392753007.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... goback'\"}]}}" }, { "category": 1, @@ -23,7 +23,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/TCOMFL062610805482392753007.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... goback'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/TCOMFL062610805482392753007.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... goback'\"}]}}" }, { "category": 1, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterBetweenColons/input/CompletionAfterBetweenColons.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterBetweenColons/input/CompletionAfterBetweenColons.tlsp index 81af4115e..7a7b6e5a9 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterBetweenColons/input/CompletionAfterBetweenColons.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterBetweenColons/input/CompletionAfterBetweenColons.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":17,\"character\":21},\"end\":{\"line\":17,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input ':' expecting TO\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":17,\"character\":21},\"end\":{\"line\":17,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input ':' expecting TO\"}]}}" }, { "category": 2, @@ -67,7 +67,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -103,7 +103,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting TO\"},{\"range\":{\"start\":{\"line\":19,\"character\":25},\"end\":{\"line\":19,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '::' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT24107591944719116636.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting TO\"},{\"range\":{\"start\":{\"line\":19,\"character\":25},\"end\":{\"line\":19,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '::' expecting user defined word\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterDotFromTypedDataDef/input/CompletionAfterDotFromTypedDataDef.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterDotFromTypedDataDef/input/CompletionAfterDotFromTypedDataDef.tlsp index a0a34cff3..2bf6d2469 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterDotFromTypedDataDef/input/CompletionAfterDotFromTypedDataDef.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterDotFromTypedDataDef/input/CompletionAfterDotFromTypedDataDef.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":18,\"character\":16},\"end\":{\"line\":18,\"character\":20}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ListObjects ... equal'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":18,\"character\":16},\"end\":{\"line\":18,\"character\":20}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ListObjects ... equal'\"}]}}" }, { "category": 0, @@ -71,7 +71,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY13205826092725044692.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen/input/CompletionAfterWhen.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen/input/CompletionAfterWhen.tlsp index 725409367..ed72726e5 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen/input/CompletionAfterWhen.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen/input/CompletionAfterWhen.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/workspaces/RDz4EIv72_workspaceUAT/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOJCM02.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/workspaces/RDz4EIv72_workspaceUAT/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOJCM02.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" }, { "category": 1, @@ -23,7 +23,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/workspaces/RDz4EIv72_workspaceUAT/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOJCM02.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/workspaces/RDz4EIv72_workspaceUAT/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOJCM02.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":13,\"character\":16},\"end\":{\"line\":13,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":21,\"character\":16},\"end\":{\"line\":21,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" }, { "category": 1, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen2/input/CompletionAfterWhen2.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen2/input/CompletionAfterWhen2.tlsp index 0ec49a3a8..e2a8a0ff5 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen2/input/CompletionAfterWhen2.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionAfterWhen2/input/CompletionAfterWhen2.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/rdz_workspace/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":15},\"end\":{\"line\":13,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":15},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":20},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Gr is not referenced\"},{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/rdz_workspace/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":15},\"end\":{\"line\":13,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":15},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":20},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Gr is not referenced\"},{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/rdz_workspace/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":15},\"end\":{\"line\":13,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":15},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":20},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Gr is not referenced\"},{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/rdz_workspace/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":15},\"end\":{\"line\":13,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing condition in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":15},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement in \\\"when\\\" clause\"},{\"range\":{\"start\":{\"line\":16,\"character\":20},\"end\":{\"line\":16,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol Gr is not referenced\"},{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":24}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionCallDuplicateProcedure/input/CompletionCallDuplicateProcedure.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionCallDuplicateProcedure/input/CompletionCallDuplicateProcedure.tlsp index ef2ca02d0..906961a4d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionCallDuplicateProcedure/input/CompletionCallDuplicateProcedure.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionCallDuplicateProcedure/input/CompletionCallDuplicateProcedure.tlsp @@ -19,11 +19,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":24}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'Toto(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":24}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'Toto(no arguments)'\"}]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/DELEVOVA/AppData/Local/Temp/1/tcbl/TCODVA011384460104469398588.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":8,\"character\":16},\"end\":{\"line\":8,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialLibraryName/input/CompletionOnPartialLibraryName.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialLibraryName/input/CompletionOnPartialLibraryName.tlsp index 71f82393e..c840a9ded 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialLibraryName/input/CompletionOnPartialLibraryName.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialLibraryName/input/CompletionOnPartialLibraryName.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT0579822514746277517.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'PROCEDURE' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... CALL'\"},{\"range\":{\"start\":{\"line\":5,\"character\":11},\"end\":{\"line\":5,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT0579822514746277517.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'PROCEDURE' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... CALL'\"},{\"range\":{\"start\":{\"line\":5,\"character\":11},\"end\":{\"line\":5,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT0579822514746277517.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'PROCEDURE' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... CALL'\"},{\"range\":{\"start\":{\"line\":5,\"character\":11},\"end\":{\"line\":5,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT0579822514746277517.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'PROCEDURE' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... CALL'\"},{\"range\":{\"start\":{\"line\":5,\"character\":11},\"end\":{\"line\":5,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialTypeName/input/CompletionOnPartialTypeName.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialTypeName/input/CompletionOnPartialTypeName.tlsp index a0013d671..a197073d1 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialTypeName/input/CompletionOnPartialTypeName.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOnPartialTypeName/input/CompletionOnPartialTypeName.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/4/tcbl/DVZZMFT03692547232921701321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":12},\"end\":{\"line\":10,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'B' is not referenced\"},{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'C' is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/4/tcbl/DVZZMFT03692547232921701321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":12},\"end\":{\"line\":10,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'B' is not referenced\"},{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'C' is not referenced\"}]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/4/tcbl/DVZZMFT03692547232921701321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":12},\"end\":{\"line\":10,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'B' is not referenced\"},{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'C' is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/4/tcbl/DVZZMFT03692547232921701321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":12},\"end\":{\"line\":10,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '05' expecting {separator, statement starting keyword, keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'B' is not referenced\"},{\"range\":{\"start\":{\"line\":14,\"character\":12},\"end\":{\"line\":14,\"character\":26}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'C' is not referenced\"}]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOutputParamEmptyType/input/CompletionOutputParamEmptyType.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOutputParamEmptyType/input/CompletionOutputParamEmptyType.tlsp index d442ee714..32664403f 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionOutputParamEmptyType/input/CompletionOutputParamEmptyType.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionOutputParamEmptyType/input/CompletionOutputParamEmptyType.tlsp @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY15711654946382997773.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY15711654946382997773.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":12},\"end\":{\"line\":11,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionUsingCopy/input/CompletionUsingCopy.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionUsingCopy/input/CompletionUsingCopy.tlsp index 9158bb838..2156aa835 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionUsingCopy/input/CompletionUsingCopy.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionUsingCopy/input/CompletionUsingCopy.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -43,7 +43,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":8},\"end\":{\"line\":13,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":8},\"end\":{\"line\":13,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -75,7 +75,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":8},\"end\":{\"line\":13,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/DEMOTCOB3322354796053717124.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":8},\"end\":{\"line\":13,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedProgram/input/CompletionWithNestedProgram.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedProgram/input/CompletionWithNestedProgram.tlsp index ac1807e63..6e79a8411 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedProgram/input/CompletionWithNestedProgram.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedProgram/input/CompletionWithNestedProgram.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -99,7 +99,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":28,\"character\":11},\"end\":{\"line\":28,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":28,\"character\":11},\"end\":{\"line\":28,\"character\":19}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" }, { "category": 2, @@ -127,7 +127,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -143,7 +143,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -167,7 +167,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":39,\"character\":22},\"end\":{\"line\":39,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol v is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":39,\"character\":22},\"end\":{\"line\":39,\"character\":22}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol v is not referenced\"}]}}" }, { "category": 2, @@ -191,7 +191,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -215,7 +215,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -247,7 +247,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":41,\"character\":12},\"end\":{\"line\":41,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -287,7 +287,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2077551056612636516.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedType/input/CompletionWithNestedType.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedType/input/CompletionWithNestedType.tlsp index 39cab5d60..c99a54497 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedType/input/CompletionWithNestedType.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CompletionWithNestedType/input/CompletionWithNestedType.tlsp @@ -19,11 +19,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/1/tcbl/DVZS00016431885148411321515.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/1/tcbl/DVZS00016431885148411321515.cee\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/1/tcbl/DVZS00016431885148411321515.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":50,\"character\":12},\"end\":{\"line\":50,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/1/tcbl/DVZS00016431885148411321515.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":50,\"character\":12},\"end\":{\"line\":50,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/CopyEditAddDataItem/input/CopyEditAddDataItem.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/CopyEditAddDataItem/input/CopyEditAddDataItem.tlsp index 7ad0e35e4..a7c570b55 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/CopyEditAddDataItem/input/CopyEditAddDataItem.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/CopyEditAddDataItem/input/CopyEditAddDataItem.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -119,7 +119,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/YMYCOPY8279840513674899845.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharBeginLine/input/DeleteCharBeginLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharBeginLine/input/DeleteCharBeginLine.tlsp index c50280d00..caf999651 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharBeginLine/input/DeleteCharBeginLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharBeginLine/input/DeleteCharBeginLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,10:ATA]\\r\\n[12,19:DIVISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharEndLine/input/DeleteCharEndLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharEndLine/input/DeleteCharEndLine.tlsp index 14d6a0d59..ebd9c04a8 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharEndLine/input/DeleteCharEndLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharEndLine/input/DeleteCharEndLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [9,8:]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [9,8:]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [9,8:]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [9,8:]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharMiddleLine/input/DeleteCharMiddleLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharMiddleLine/input/DeleteCharMiddleLine.tlsp index 63569c13c..a4d393c4d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharMiddleLine/input/DeleteCharMiddleLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteCharMiddleLine/input/DeleteCharMiddleLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,19:DIISION]\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,19:DIISION]\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,19:DIISION]\\r\\n[20,20+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,19:DIISION]\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [13,19:DIISION]\\r\\n\\r\\n[[SentenceEnd]] [20,20+:.] --> [20,20+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [27,27+:.] --> [27,27+:.]\\r\\n\\r\\n[[SentenceEnd]] [26,26+:.] --> [26,26+:.]\\r\\n\\r\\n[[SentenceEnd]] [30,30+:.] --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineButStopInMiddleLine/input/DeleteMultipleLineButStopInMiddleLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineButStopInMiddleLine/input/DeleteMultipleLineButStopInMiddleLine.tlsp index b7f5d64ac..08c59eb2d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineButStopInMiddleLine/input/DeleteMultipleLineButStopInMiddleLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineButStopInMiddleLine/input/DeleteMultipleLineButStopInMiddleLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineWithEmptyLineInside/input/DeleteMultipleLineWithEmptyLineInside.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineWithEmptyLineInside/input/DeleteMultipleLineWithEmptyLineInside.tlsp index 25a9818cc..24436e3a1 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineWithEmptyLineInside/input/DeleteMultipleLineWithEmptyLineInside.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLineWithEmptyLineInside/input/DeleteMultipleLineWithEmptyLineInside.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLines/input/DeleteMultipleLines.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLines/input/DeleteMultipleLines.tlsp index e8046b479..33900daba 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLines/input/DeleteMultipleLines.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLines/input/DeleteMultipleLines.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLinesButStopAtEndLine/input/DeleteMultipleLinesButStopAtEndLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLinesButStopAtEndLine/input/DeleteMultipleLinesButStopAtEndLine.tlsp index 562825865..22f57f51b 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLinesButStopAtEndLine/input/DeleteMultipleLinesButStopAtEndLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DeleteMultipleLinesButStopAtEndLine/input/DeleteMultipleLinesButStopAtEndLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletion/input/DisplayCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletion/input/DisplayCompletion.tlsp index 7dac0ccbc..f0b5cbab3 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletion/input/DisplayCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletion/input/DisplayCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 2, @@ -91,7 +91,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletionNoTC/input/DisplayCompletionNoTC.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletionNoTC/input/DisplayCompletionNoTC.tlsp index d9d13ab56..3094cb157 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletionNoTC/input/DisplayCompletionNoTC.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/DisplayCompletionNoTC/input/DisplayCompletionNoTC.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"}]}}" }, { "category": 2, @@ -91,7 +91,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData/input/EI_ExtractRemarksData.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData/input/EI_ExtractRemarksData.tlsp index 0c6e4b208..152eea4fb 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData/input/EI_ExtractRemarksData.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData/input/EI_ExtractRemarksData.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_CPYInsideCPX/input/EI_ExtractRemarksData_CPYInsideCPX.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_CPYInsideCPX/input/EI_ExtractRemarksData_CPYInsideCPX.tlsp index be9102f52..d2d5e6b68 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_CPYInsideCPX/input/EI_ExtractRemarksData_CPYInsideCPX.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_CPYInsideCPX/input/EI_ExtractRemarksData_CPYInsideCPX.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOFM117.cbl\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_DebugLines/input/EI_ExtractRemarksData_DebugLines.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_DebugLines/input/EI_ExtractRemarksData_DebugLines.tlsp index ad83437cb..c5cf7cd30 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_DebugLines/input/EI_ExtractRemarksData_DebugLines.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/EI_ExtractRemarksData_DebugLines/input/EI_ExtractRemarksData_DebugLines.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/workspaces/runtime_RDz/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ED/ED.ADYTCOB.SOURCE/TCOMFL06.cbl\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/EmptyExecStatement/input/EmptyExecStatement.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/EmptyExecStatement/input/EmptyExecStatement.tlsp index d6183089a..59d8c6e3e 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/EmptyExecStatement/input/EmptyExecStatement.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/EmptyExecStatement/input/EmptyExecStatement.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":7,\"character\":12},\"end\":{\"line\":7,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : missing exec translator name at 'goback'\"},{\"range\":{\"start\":{\"line\":7,\"character\":12},\"end\":{\"line\":7,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'goback' expecting {ExecStatementText, ExecStatementEnd, CommitStatement, SelectStatement, RollbackStatement, TruncateStatement, SavepointStatement, WhenEverStatement, LockTableStatement, ReleaseSavepointStatement, ConnectStatement, DropTableStatement, SetAssignmentStatement, GetDiagnosticsStatement, AlterSequenceStatement, ExecuteImmediateStatement}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":7,\"character\":12},\"end\":{\"line\":7,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : missing exec translator name at 'goback'\"},{\"range\":{\"start\":{\"line\":7,\"character\":12},\"end\":{\"line\":7,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'goback' expecting {ExecStatementText, ExecStatementEnd, CommitStatement, SelectStatement, RollbackStatement, TruncateStatement, SavepointStatement, WhenEverStatement, LockTableStatement, ReleaseSavepointStatement, ConnectStatement, DropTableStatement, SetAssignmentStatement, GetDiagnosticsStatement, AlterSequenceStatement, ExecuteImmediateStatement}\"}]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/TCOMFL065238009446171796607.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/FirstLineEditCommentBeforeIdentDiv/input/FirstLineEditCommentBeforeIdentDiv.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/FirstLineEditCommentBeforeIdentDiv/input/FirstLineEditCommentBeforeIdentDiv.tlsp index 6afb31f74..a77b3436d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/FirstLineEditCommentBeforeIdentDiv/input/FirstLineEditCommentBeforeIdentDiv.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/FirstLineEditCommentBeforeIdentDiv/input/FirstLineEditCommentBeforeIdentDiv.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"},{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":28}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: a End statement is not aligned with the matching opening statement\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"},{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":28}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: a End statement is not aligned with the matching opening statement\"}]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -51,7 +51,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -75,7 +75,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -87,7 +87,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -107,7 +107,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":3,\"character\":8},\"end\":{\"line\":3,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'mm ... IDENTIFICATION'\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":3,\"character\":8},\"end\":{\"line\":3,\"character\":21}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'mm ... IDENTIFICATION'\"},{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -127,7 +127,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -139,7 +139,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":18},\"end\":{\"line\":12,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -167,7 +167,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":2,\"character\":8},\"end\":{\"line\":2,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '*' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":2,\"character\":8},\"end\":{\"line\":2,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '*' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -243,7 +243,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -359,7 +359,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":13,\"character\":18},\"end\":{\"line\":13,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":14,\"character\":18},\"end\":{\"line\":14,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -371,7 +371,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bdate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52983195727914253385.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/FormalizedCommentIncScan/input/FormalizedCommentIncScan.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/FormalizedCommentIncScan/input/FormalizedCommentIncScan.tlsp index 31b79d053..57aa2a03d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/FormalizedCommentIncScan/input/FormalizedCommentIncScan.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/FormalizedCommentIncScan/input/FormalizedCommentIncScan.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -35,7 +35,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" }, { "category": 0, @@ -47,7 +47,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":12},\"end\":{\"line\":12,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... @'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":12},\"end\":{\"line\":12,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... @'\"}]}}" }, { "category": 0, @@ -59,7 +59,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":18},\"end\":{\"line\":10,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bDate\"},{\"range\":{\"start\":{\"line\":11,\"character\":18},\"end\":{\"line\":11,\"character\":22}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any program parameter: bTime\"}]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54976774298083657321.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/GetDataLayoutRequest/input/GetDataLayoutRequest.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/GetDataLayoutRequest/input/GetDataLayoutRequest.tlsp index 7937dd4cb..8aba585b5 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/GetDataLayoutRequest/input/GetDataLayoutRequest.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/GetDataLayoutRequest/input/GetDataLayoutRequest.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" }, { "category": 0, @@ -35,7 +35,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" }, { "category": 0, @@ -43,7 +43,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/GDLRUSER/workspaces/runtime-CobolEditorEI/RemoteSystemsTempFiles/FttRemoteTempFiles/nitcpip.e-i.net/ZZ/ZZ.DY530.ZGEN.SOURCE.TST2.PERM/TCOZEFR0.cbl\",\"diagnostics\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/GlobalStorageCompletion/input/GlobalStorageCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/GlobalStorageCompletion/input/GlobalStorageCompletion.tlsp index b6ba836e6..bb605b630 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/GlobalStorageCompletion/input/GlobalStorageCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/GlobalStorageCompletion/input/GlobalStorageCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -23,7 +23,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":10},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'DECLARE' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":26,\"character\":10},\"end\":{\"line\":28,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":10},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'DECLARE' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":26,\"character\":10},\"end\":{\"line\":28,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" }, { "category": 2, @@ -51,7 +51,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -91,7 +91,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":17},\"end\":{\"line\":37,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":17},\"end\":{\"line\":37,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -131,7 +131,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":17},\"end\":{\"line\":37,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":17},\"end\":{\"line\":37,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -159,7 +159,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL580149467693110299.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/GlobalWithNestedProgramCompletion/input/GlobalWithNestedProgramCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/GlobalWithNestedProgramCompletion/input/GlobalWithNestedProgramCompletion.tlsp index 74af1b908..6a1147959 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/GlobalWithNestedProgramCompletion/input/GlobalWithNestedProgramCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/GlobalWithNestedProgramCompletion/input/GlobalWithNestedProgramCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -51,7 +51,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":38,\"character\":12},\"end\":{\"line\":38,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":38,\"character\":12},\"end\":{\"line\":38,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -95,7 +95,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":39,\"character\":12},\"end\":{\"line\":39,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":39,\"character\":12},\"end\":{\"line\":39,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -123,7 +123,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL7987407785098902427.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/GoToDefinition/input/GoToDefinition.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/GoToDefinition/input/GoToDefinition.tlsp index 7f6dd7e39..a936af161 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/GoToDefinition/input/GoToDefinition.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/GoToDefinition/input/GoToDefinition.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/2/tcbl/DVZZDLY1941980203030507940.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/2/tcbl/DVZZDLY1941980203030507940.cee\",\"diagnostics\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/IfCompletion/input/IfCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/IfCompletion/input/IfCompletion.tlsp index 122c64212..ea1c6fe90 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/IfCompletion/input/IfCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/IfCompletion/input/IfCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -43,7 +43,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {separator, arithmetic operator, alphanumeric literal, numeric literal, symbol, special register, figurative constant, special object identifier, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":13}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {separator, arithmetic operator, alphanumeric literal, numeric literal, symbol, special register, figurative constant, special object identifier, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":13}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/IncrementalErrorHandling/input/IncrementalErrorHandling.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/IncrementalErrorHandling/input/IncrementalErrorHandling.tlsp index bccea10f3..b98b1a41f 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/IncrementalErrorHandling/input/IncrementalErrorHandling.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/IncrementalErrorHandling/input/IncrementalErrorHandling.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX07851183288335278339.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":28},\"end\":{\"line\":19,\"character\":30}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol var is not referenced\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX07851183288335278339.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":28},\"end\":{\"line\":19,\"character\":30}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol var is not referenced\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX07851183288335278339.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":28},\"end\":{\"line\":22,\"character\":30}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol var is not referenced\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX07851183288335278339.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":28},\"end\":{\"line\":22,\"character\":30}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol var is not referenced\"},{\"range\":{\"start\":{\"line\":9,\"character\":12},\"end\":{\"line\":9,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"},{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":25}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"when other\\\" is missing\"}]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX07851183288335278339.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/IncrementalThruTokenInsideCopies/input/IncrementalThruTokenInsideCopies.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/IncrementalThruTokenInsideCopies/input/IncrementalThruTokenInsideCopies.tlsp index b0d7a272e..1226f0837 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/IncrementalThruTokenInsideCopies/input/IncrementalThruTokenInsideCopies.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/IncrementalThruTokenInsideCopies/input/IncrementalThruTokenInsideCopies.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54022999843151611639.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54022999843151611639.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -43,7 +43,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54022999843151611639.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54022999843151611639.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM54022999843151611639.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/Incremental_RemoveDataDivisionCtrlZ/input/RemoveDataDivisionCtrlZ.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/Incremental_RemoveDataDivisionCtrlZ/input/RemoveDataDivisionCtrlZ.tlsp index 40363210a..3f02b2120 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/Incremental_RemoveDataDivisionCtrlZ/input/RemoveDataDivisionCtrlZ.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/Incremental_RemoveDataDivisionCtrlZ/input/RemoveDataDivisionCtrlZ.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -20,7 +20,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -32,7 +32,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":8,\"character\":8},\"end\":{\"line\":8,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":8},\"end\":{\"line\":9,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":10,\"character\":8},\"end\":{\"line\":10,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":11,\"character\":9},\"end\":{\"line\":11,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '88' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":5,\"character\":8},\"end\":{\"line\":5,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'WORKING-STORAGESECTION.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, EnvironmentDivisionHeader, DataDivisionHeader, ProcedureDivisionHeader, LibraryCopy}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":8,\"character\":8},\"end\":{\"line\":8,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":8},\"end\":{\"line\":9,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":10,\"character\":8},\"end\":{\"line\":10,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":11,\"character\":9},\"end\":{\"line\":11,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '88' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":5,\"character\":8},\"end\":{\"line\":5,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'WORKING-STORAGESECTION.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, EnvironmentDivisionHeader, DataDivisionHeader, ProcedureDivisionHeader, LibraryCopy}\"}]}}" }, { "category": 0, @@ -44,7 +44,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2551943641464191568.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/InsertWithinContinuations/input/InsertWithinContinuations.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/InsertWithinContinuations/input/InsertWithinContinuations.tlsp index 0acdc1df1..21420fe46 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/InsertWithinContinuations/input/InsertWithinContinuations.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/InsertWithinContinuations/input/InsertWithinContinuations.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT04639631886754489909.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/MoveZeroSpaceCompletion/input/MoveZeroSpaceCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/MoveZeroSpaceCompletion/input/MoveZeroSpaceCompletion.tlsp index 8ce09e20b..acade4b94 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/MoveZeroSpaceCompletion/input/MoveZeroSpaceCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/MoveZeroSpaceCompletion/input/MoveZeroSpaceCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -83,7 +83,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":24,\"character\":12},\"end\":{\"line\":24,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":24,\"character\":12},\"end\":{\"line\":24,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -167,7 +167,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -251,7 +251,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":12},\"end\":{\"line\":26,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":12},\"end\":{\"line\":26,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -287,7 +287,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL8019958258115485451.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/MultiCommentSyntaxColoring/input/MultiCommentSyntaxColoring.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/MultiCommentSyntaxColoring/input/MultiCommentSyntaxColoring.tlsp index c7a082364..04154c7bc 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/MultiCommentSyntaxColoring/input/MultiCommentSyntaxColoring.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/MultiCommentSyntaxColoring/input/MultiCommentSyntaxColoring.tlsp @@ -16,7 +16,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -28,7 +28,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" }, { "category": 0, @@ -40,7 +40,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" }, { "category": 0, @@ -52,7 +52,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" }, { "category": 0, @@ -64,7 +64,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -92,7 +92,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":23,\"character\":9},\"end\":{\"line\":23,\"character\":40}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":23,\"character\":9},\"end\":{\"line\":23,\"character\":40}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" }, { "category": 0, @@ -104,7 +104,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -228,7 +228,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"},{\"range\":{\"start\":{\"line\":23,\"character\":9},\"end\":{\"line\":23,\"character\":40}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {ProcedureDivisionHeader, FunctionDeclarationEnd}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"},{\"range\":{\"start\":{\"line\":23,\"character\":9},\"end\":{\"line\":23,\"character\":40}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {ProcedureDivisionHeader, FunctionDeclarationEnd}\"}]}}" }, { "category": 0, @@ -240,7 +240,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -356,7 +356,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -496,7 +496,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"}]}}" }, { "category": 0, @@ -508,7 +508,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":8},\"end\":{\"line\":30,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"}]}}" }, { "category": 0, @@ -688,7 +688,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM58896372926830602866.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/MultiLineBlockDeleteUndo/input/MultiLineBlockDeleteUndo.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/MultiLineBlockDeleteUndo/input/MultiLineBlockDeleteUndo.tlsp index 9cbd8f2bd..9cfa64d63 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/MultiLineBlockDeleteUndo/input/MultiLineBlockDeleteUndo.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/MultiLineBlockDeleteUndo/input/MultiLineBlockDeleteUndo.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -24,7 +24,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":15,\"character\":12},\"end\":{\"line\":15,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '01 ... 88'\"},{\"range\":{\"start\":{\"line\":15,\"character\":14},\"end\":{\"line\":15,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, ClassEnd, FactoryEnd, ObjectIdentification, ObjectEnd, MethodEnd, ProcedureDivisionHeader, WorkingStorageSectionHeader, LocalStorageSectionHeader, LinkageSectionHeader, FileDescriptionEntry, DataDescriptionEntry, DataRedefinesEntry, DataRenamesEntry, DataConditionEntry, ExecStatement, FunctionDeclarationEnd, GlobalStorageSectionHeader}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":15,\"character\":12},\"end\":{\"line\":15,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '01 ... 88'\"},{\"range\":{\"start\":{\"line\":15,\"character\":14},\"end\":{\"line\":15,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, ClassEnd, FactoryEnd, ObjectIdentification, ObjectEnd, MethodEnd, ProcedureDivisionHeader, WorkingStorageSectionHeader, LocalStorageSectionHeader, LinkageSectionHeader, FileDescriptionEntry, DataDescriptionEntry, DataRedefinesEntry, DataRenamesEntry, DataConditionEntry, ExecStatement, FunctionDeclarationEnd, GlobalStorageSectionHeader}\"}]}}" }, { "category": 0, @@ -36,7 +36,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5313178181982367589.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/MultiLineCommentIncScan/input/MultiLineCommentIncScan.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/MultiLineCommentIncScan/input/MultiLineCommentIncScan.tlsp index 0b7d8ede5..8657d12c9 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/MultiLineCommentIncScan/input/MultiLineCommentIncScan.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/MultiLineCommentIncScan/input/MultiLineCommentIncScan.tlsp @@ -10,7 +10,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -26,7 +26,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" }, { "category": 0, @@ -34,7 +34,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" }, { "category": 0, @@ -46,7 +46,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -62,7 +62,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" }, { "category": 0, @@ -70,7 +70,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":6},\"end\":{\"line\":30,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"44\",\"source\":\"Page\",\"message\":\"Invalid use of '%'. Should be used with \\\"%<< ... (linebreak) %>>\\\" for MultiLine Comment or \\\"%<<< ... (linebreak) %>>>\\\" for Formalized Comment\"},{\"range\":{\"start\":{\"line\":31,\"character\":55},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol MyData is not referenced\"},{\"range\":{\"start\":{\"line\":31,\"character\":21},\"end\":{\"line\":31,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Function not found 'TCOZDATE.CurrentDate' output(?)\"}]}}" }, { "category": 0, @@ -82,7 +82,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -90,7 +90,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":8},\"end\":{\"line\":33,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"},{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":8},\"end\":{\"line\":33,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '%<<< ... >'\"},{\"range\":{\"start\":{\"line\":23,\"character\":8},\"end\":{\"line\":23,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'DECLAREPROCEDUREMyProcpublic.' expecting {DeclarativesHeader, SectionHeader, ParagraphHeader, SentenceEnd, AcceptStatement, AddStatement, AllocateStatement, AlterStatement, CallStatement, CancelStatement, CloseStatement, ComputeStatement, ContinueStatement, DeleteStatement, DisplayStatement, DivideStatement, EntryStatement, EvaluateStatement, ExecStatement, ExitMethodStatement, ExitParagraphStatement, ExitPerformStatement, ExitProgramStatement, ExitSectionStatement, ExitStatement, FreeStatement, GobackStatement, GotoStatement, IfStatement, InitializeStatement, InspectStatement, InvokeStatement, JsonGenerateStatement, JsonParseStatement, MergeStatement, MoveStatement, MultiplyStatement, OpenStatement, PerformProcedureStatement, PerformStatement, ReadStatement, ReleaseStatement, ReturnStatement, RewriteStatement, SearchStatement, SetStatement, SortStatement, StartStatement, StopStatement, StringStatement, SubtractStatement, UnstringStatement, WriteStatement, XmlGenerateStatement, XmlParseStatement, FunctionDeclarationEnd, ProcedureStyleCall}\"}]}}" }, { "category": 0, @@ -98,7 +98,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM52032788062027908163.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/OfCompletion/input/OfCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/OfCompletion/input/OfCompletion.tlsp index 77925f7d2..ed0e4b435 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/OfCompletion/input/OfCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/OfCompletion/input/OfCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -28,7 +28,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : missing user defined word at '.'\"},{\"range\":{\"start\":{\"line\":18,\"character\":18},\"end\":{\"line\":18,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol .VAR1 is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : missing user defined word at '.'\"},{\"range\":{\"start\":{\"line\":18,\"character\":18},\"end\":{\"line\":18,\"character\":21}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol .VAR1 is not referenced\"}]}}" }, { "category": 2, @@ -52,7 +52,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -76,7 +76,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9046269398298322725.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/OnHover/input/OnHover.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/OnHover/input/OnHover.tlsp index 36c430574..0e0d27f4d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/OnHover/input/OnHover.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/OnHover/input/OnHover.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX16595831499420203922.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX16595831499420203922.cee\",\"diagnostics\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinition/input/OnHoverDisplayVariableDefinition.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinition/input/OnHoverDisplayVariableDefinition.tlsp index 1a050f250..b8a009258 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinition/input/OnHoverDisplayVariableDefinition.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinition/input/OnHoverDisplayVariableDefinition.tlsp @@ -15,7 +15,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/3/tcbl/DVZZMFT081153230217563314.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/3/tcbl/DVZZMFT081153230217563314.cee\",\"diagnostics\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinitionFromCopy/input/OnHoverDisplayVariableDefinitionFromCopy.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinitionFromCopy/input/OnHoverDisplayVariableDefinitionFromCopy.tlsp index 800f9fff8..4bb5e1af5 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinitionFromCopy/input/OnHoverDisplayVariableDefinitionFromCopy.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/OnHoverDisplayVariableDefinitionFromCopy/input/OnHoverDisplayVariableDefinitionFromCopy.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT04767119620262366036.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/2/tcbl/DVZZMFT04767119620262366036.cee\",\"diagnostics\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/OutlineRefresh/input/OutlineRefresh.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/OutlineRefresh/input/OutlineRefresh.tlsp index be93aee06..a4935236d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/OutlineRefresh/input/OutlineRefresh.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/OutlineRefresh/input/OutlineRefresh.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -47,7 +47,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":8},\"end\":{\"line\":16,\"character\":37}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'User' has already been declared\"},{\"range\":{\"start\":{\"line\":21,\"character\":8},\"end\":{\"line\":21,\"character\":37}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'User' has already been declared\"},{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":34}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'User'\"},{\"range\":{\"start\":{\"line\":38,\"character\":52},\"end\":{\"line\":38,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.firstName is not referenced\"},{\"range\":{\"start\":{\"line\":39,\"character\":51},\"end\":{\"line\":39,\"character\":58}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.lastName is not referenced\"},{\"range\":{\"start\":{\"line\":51,\"character\":52},\"end\":{\"line\":51,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.firstName is not referenced\"},{\"range\":{\"start\":{\"line\":64,\"character\":23},\"end\":{\"line\":64,\"character\":48}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'DVZZBCO1.User'\"},{\"range\":{\"start\":{\"line\":64,\"character\":23},\"end\":{\"line\":64,\"character\":48}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'DVZZBCO1.User'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":8},\"end\":{\"line\":16,\"character\":37}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'User' has already been declared\"},{\"range\":{\"start\":{\"line\":21,\"character\":8},\"end\":{\"line\":21,\"character\":37}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: TYPE 'User' has already been declared\"},{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":34}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'User'\"},{\"range\":{\"start\":{\"line\":38,\"character\":52},\"end\":{\"line\":38,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.firstName is not referenced\"},{\"range\":{\"start\":{\"line\":39,\"character\":51},\"end\":{\"line\":39,\"character\":58}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.lastName is not referenced\"},{\"range\":{\"start\":{\"line\":51,\"character\":52},\"end\":{\"line\":51,\"character\":60}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol user1.person.longName.firstName is not referenced\"},{\"range\":{\"start\":{\"line\":64,\"character\":23},\"end\":{\"line\":64,\"character\":48}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'DVZZBCO1.User'\"},{\"range\":{\"start\":{\"line\":64,\"character\":23},\"end\":{\"line\":64,\"character\":48}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Ambiguous reference to TYPE 'DVZZBCO1.User'\"}]}}" }, { "category": 1, @@ -67,7 +67,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -87,7 +87,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -107,7 +107,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -127,7 +127,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, @@ -147,7 +147,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":44,\"character\":12},\"end\":{\"line\":46,\"character\":48}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'WriteName' only takes 2 parameter(s)\"},{\"range\":{\"start\":{\"line\":44,\"character\":12},\"end\":{\"line\":46,\"character\":48}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'WriteName' input(User) in-out(Numeric) output(Numeric)\"},{\"range\":{\"start\":{\"line\":58,\"character\":18},\"end\":{\"line\":58,\"character\":19}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any function parameter: tw\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":44,\"character\":12},\"end\":{\"line\":46,\"character\":48}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'WriteName' only takes 2 parameter(s)\"},{\"range\":{\"start\":{\"line\":44,\"character\":12},\"end\":{\"line\":46,\"character\":48}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'WriteName' input(User) in-out(Numeric) output(Numeric)\"},{\"range\":{\"start\":{\"line\":58,\"character\":18},\"end\":{\"line\":58,\"character\":19}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Parameter name does not match to any function parameter: tw\"}]}}" }, { "category": 1, @@ -167,7 +167,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO15049469394111530455.cee\",\"diagnostics\":[]}}" }, { "category": 1, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/PerformCompletion/input/PerformCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/PerformCompletion/input/PerformCompletion.tlsp index ea42e1d67..d6f1bca60 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/PerformCompletion/input/PerformCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/PerformCompletion/input/PerformCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":8},\"end\":{\"line\":22,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag1' is empty\"},{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag2' is empty\"},{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag4' is empty\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag5' is empty\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":8},\"end\":{\"line\":22,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag1' is empty\"},{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag2' is empty\"},{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag4' is empty\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag5' is empty\"}]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":8},\"end\":{\"line\":22,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag1' is empty\"},{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag2' is empty\"},{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag4' is empty\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag5' is empty\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":8},\"end\":{\"line\":22,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag1' is empty\"},{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag2' is empty\"},{\"range\":{\"start\":{\"line\":34,\"character\":8},\"end\":{\"line\":34,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag4' is empty\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":14}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: Paragraph 'Parag5' is empty\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletion/input/ProcedureCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletion/input/ProcedureCompletion.tlsp index 9d99bd35f..fffbcb6d3 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletion/input/ProcedureCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletion/input/ProcedureCompletion.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -20,7 +20,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -41,7 +41,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -73,7 +73,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'CALL ... .'\"}]}}" }, { "category": 2, @@ -125,7 +125,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'CustomDep.MyProcedure' \"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param1' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param2' of type DATE and length 8\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'CustomDep.MyProcedure' \"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param1' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param2' of type DATE and length 8\"}]}}" }, { "category": 2, @@ -181,7 +181,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":59}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'CustomDep.MyProcedure' input(DATE)\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":59}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param2' of type DATE and length 8\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":59}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'CustomDep.MyProcedure' input(DATE)\"},{\"range\":{\"start\":{\"line\":22,\"character\":13},\"end\":{\"line\":22,\"character\":59}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'CustomDep.MyProcedure' is missing parameter 'Param2' of type DATE and length 8\"}]}}" }, { "category": 2, @@ -209,7 +209,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL9180248616523025894.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionCaseInsensitive/input/ProcedureCompletionCaseInsensitive.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionCaseInsensitive/input/ProcedureCompletionCaseInsensitive.tlsp index a4348daf8..923aaab47 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionCaseInsensitive/input/ProcedureCompletionCaseInsensitive.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionCaseInsensitive/input/ProcedureCompletionCaseInsensitive.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -46,7 +46,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":27,\"character\":8},\"end\":{\"line\":27,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' \"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'myDate' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'testez' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":27,\"character\":8},\"end\":{\"line\":27,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":27,\"character\":8},\"end\":{\"line\":27,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' \"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'myDate' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'testez' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":22,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":27,\"character\":8},\"end\":{\"line\":27,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" }, { "category": 2, @@ -79,7 +79,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' input(DATE)\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'testez' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' input(DATE)\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'testez' of type DATE and length 8\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":23,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" }, { "category": 2, @@ -113,7 +113,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":24,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' input(DATE) in-out(DATE)\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":24,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'END' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":24,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myproc' input(DATE) in-out(DATE)\"},{\"range\":{\"start\":{\"line\":21,\"character\":13},\"end\":{\"line\":24,\"character\":18}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myproc' is missing parameter 'datedb2' of type DateDB2 and length 10\"},{\"range\":{\"start\":{\"line\":29,\"character\":8},\"end\":{\"line\":29,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"}]}}" }, { "category": 2, @@ -141,7 +141,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL2063206043670416420.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-Case/input/ProcedureCompletionInputInoutOutput-Case.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-Case/input/ProcedureCompletionInputInoutOutput-Case.tlsp index 3b8c88f1b..4a0e69a98 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-Case/input/ProcedureCompletionInputInoutOutput-Case.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-Case/input/ProcedureCompletionInputInoutOutput-Case.tlsp @@ -13,11 +13,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -53,7 +53,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -81,7 +81,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":24,\"character\":12},\"end\":{\"line\":24,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":24,\"character\":12},\"end\":{\"line\":24,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":22,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -105,7 +105,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":23,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -129,7 +129,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":12},\"end\":{\"line\":26,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":24,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":24,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":12},\"end\":{\"line\":26,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":24,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":22,\"character\":12},\"end\":{\"line\":24,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -165,7 +165,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -257,7 +257,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -285,7 +285,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":27,\"character\":12},\"end\":{\"line\":27,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":27,\"character\":12},\"end\":{\"line\":27,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":25,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -309,7 +309,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":26,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -333,7 +333,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":29,\"character\":12},\"end\":{\"line\":29,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":27,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":27,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":29,\"character\":12},\"end\":{\"line\":29,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":27,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":25,\"character\":13},\"end\":{\"line\":27,\"character\":30}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -369,7 +369,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -553,7 +553,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -581,7 +581,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":12},\"end\":{\"line\":30,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":30,\"character\":12},\"end\":{\"line\":30,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' \"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pname' of type Alphanumeric and length 20\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -605,7 +605,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":31,\"character\":12},\"end\":{\"line\":31,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":31,\"character\":12},\"end\":{\"line\":31,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric)\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'pnbr' of type Numeric and length 2\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":29,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -629,7 +629,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":32,\"character\":12},\"end\":{\"line\":32,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":30,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":30,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":32,\"character\":12},\"end\":{\"line\":32,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input 'GOBACK' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":30,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'myProc' input(Alphanumeric) in-out(Numeric)\"},{\"range\":{\"start\":{\"line\":28,\"character\":12},\"end\":{\"line\":30,\"character\":29}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Function 'myProc' is missing parameter 'IsOk' of type BOOL and length 1\"}]}}" }, { "category": 2, @@ -657,7 +657,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1717995021841378630.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-NoContext/input/ProcedureCompletionInputInoutOutput-NoContext.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-NoContext/input/ProcedureCompletionInputInoutOutput-NoContext.tlsp index 5cf8542f3..f1be80f45 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-NoContext/input/ProcedureCompletionInputInoutOutput-NoContext.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput-NoContext/input/ProcedureCompletionInputInoutOutput-NoContext.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -59,7 +59,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":12},\"end\":{\"line\":35,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":34,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":12},\"end\":{\"line\":35,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":34,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext(no arguments)'\"}]}}" }, { "category": 2, @@ -87,7 +87,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":34,\"character\":38}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":34,\"character\":38}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE)\"}]}}" }, { "category": 2, @@ -111,7 +111,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":36,\"character\":12},\"end\":{\"line\":36,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":35,\"character\":32}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":36,\"character\":12},\"end\":{\"line\":36,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":35,\"character\":32}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE)\"}]}}" }, { "category": 2, @@ -139,7 +139,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":35,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE) in-out(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":35,\"character\":39}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE) in-out(DATE)\"}]}}" }, { "category": 2, @@ -163,7 +163,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":12},\"end\":{\"line\":37,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":36,\"character\":32}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE) in-out(DATE, DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":12},\"end\":{\"line\":37,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":34,\"character\":12},\"end\":{\"line\":36,\"character\":32}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContext' input(DATE, DATE) in-out(DATE, DATE)\"}]}}" }, { "category": 2, @@ -187,7 +187,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -227,7 +227,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":52,\"character\":12},\"end\":{\"line\":52,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":51,\"character\":46}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":52,\"character\":12},\"end\":{\"line\":52,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":51,\"character\":46}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut(no arguments)'\"}]}}" }, { "category": 2, @@ -255,7 +255,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":51,\"character\":53}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":51,\"character\":53}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE)\"}]}}" }, { "category": 2, @@ -279,7 +279,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":53,\"character\":12},\"end\":{\"line\":53,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":52,\"character\":47}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE, DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":53,\"character\":12},\"end\":{\"line\":53,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":52,\"character\":47}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE, DATE)\"}]}}" }, { "category": 2, @@ -307,7 +307,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":52,\"character\":54}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE, DATE) output(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":51,\"character\":12},\"end\":{\"line\":52,\"character\":54}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextAndWithoutInOut' input(DATE, DATE) output(DATE)\"}]}}" }, { "category": 2, @@ -331,7 +331,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -371,7 +371,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":68,\"character\":12},\"end\":{\"line\":68,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":67,\"character\":44}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":68,\"character\":12},\"end\":{\"line\":68,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":67,\"character\":44}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput(no arguments)'\"}]}}" }, { "category": 2, @@ -399,7 +399,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":67,\"character\":51}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":67,\"character\":51}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE)\"}]}}" }, { "category": 2, @@ -423,7 +423,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":69,\"character\":12},\"end\":{\"line\":69,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":68,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE, DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":69,\"character\":12},\"end\":{\"line\":69,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":68,\"character\":45}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE, DATE)\"}]}}" }, { "category": 2, @@ -451,7 +451,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":68,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE, DATE) in-out(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":67,\"character\":12},\"end\":{\"line\":68,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'NoContextWithoutOutput' input(DATE, DATE) in-out(DATE)\"}]}}" }, { "category": 2, @@ -475,7 +475,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MILLETFL/AppData/Local/Temp/1/tcbl/DVZZMFT16140549261148664121.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput/input/ProcedureCompletionInputInoutOutput.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput/input/ProcedureCompletionInputInoutOutput.tlsp index 9da2d2c6c..76feeae5f 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput/input/ProcedureCompletionInputInoutOutput.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionInputInoutOutput/input/ProcedureCompletionInputInoutOutput.tlsp @@ -23,11 +23,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -55,7 +55,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -83,7 +83,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":36}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":17,\"character\":12},\"end\":{\"line\":17,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":16,\"character\":36}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest(no arguments)'\"}]}}" }, { "category": 2, @@ -115,7 +115,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":18,\"character\":12},\"end\":{\"line\":18,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":17,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":18,\"character\":12},\"end\":{\"line\":18,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":17,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric)\"}]}}" }, { "category": 2, @@ -147,7 +147,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":18,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric) in-out(DATE)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":18,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric) in-out(DATE)\"}]}}" }, { "category": 2, @@ -183,7 +183,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":18,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric) in-out(DATE) output(Alphanumeric)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":16,\"character\":12},\"end\":{\"line\":18,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric) in-out(DATE) output(Alphanumeric)\"}]}}" }, { "category": 2, @@ -219,7 +219,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -331,7 +331,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":15}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Empty CALL is not authorized\"}]}}" }, { "category": 2, @@ -359,7 +359,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":36}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest(no arguments)'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":20,\"character\":12},\"end\":{\"line\":20,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {alphanumeric literal, numeric literal, symbol, special register, figurative constant, keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":36}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest(no arguments)'\"}]}}" }, { "category": 2, @@ -395,7 +395,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":54}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":54}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric)\"}]}}" }, { "category": 2, @@ -427,7 +427,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":21,\"character\":12},\"end\":{\"line\":21,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":20,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric, Alphanumeric)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":21,\"character\":12},\"end\":{\"line\":21,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":20,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric, Alphanumeric)\"}]}}" }, { "category": 2, @@ -463,7 +463,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":20,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric, Alphanumeric) output(Alphanumeric)\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":20,\"character\":52}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : No suitable function signature found for 'AProcedureTest' input(Alphanumeric, Alphanumeric) output(Alphanumeric)\"}]}}" }, { "category": 2, @@ -499,7 +499,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/SMEDILOL/AppData/Local/Temp/tcbl/DVZF0OSM7141948854262812779.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionNoParam/input/ProcedureCompletionNoParam.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionNoParam/input/ProcedureCompletionNoParam.tlsp index 946780aff..c1331e19e 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionNoParam/input/ProcedureCompletionNoParam.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionNoParam/input/ProcedureCompletionNoParam.tlsp @@ -24,11 +24,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -88,7 +88,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -100,7 +100,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/LANOYDO/AppData/Local/Temp/1/tcbl/DVZZDLY1103830253336368444.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionPotentialChildrenWithNoName/input/ProcedureCompletionPotentialChildrenWithNoName.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionPotentialChildrenWithNoName/input/ProcedureCompletionPotentialChildrenWithNoName.tlsp index bd4b3edaa..4d890523e 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionPotentialChildrenWithNoName/input/ProcedureCompletionPotentialChildrenWithNoName.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ProcedureCompletionPotentialChildrenWithNoName/input/ProcedureCompletionPotentialChildrenWithNoName.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -23,7 +23,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -51,7 +51,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":27}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":27}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":27}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":27}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -80,7 +80,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":37}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":37}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":37}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -140,7 +140,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":16}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -168,7 +168,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -196,7 +196,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -224,7 +224,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, @@ -252,7 +252,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/PETERDA/AppData/Local/Temp/1/tcbl/DVZPDA016428743229221512910.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":10}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input '( ... END'\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Missing statement or NEXT SENTENCE after IF condition.\"},{\"range\":{\"start\":{\"line\":28,\"character\":8},\"end\":{\"line\":28,\"character\":28}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Sentence is not correctly ended: a period was required.\"},{\"range\":{\"start\":{\"line\":26,\"character\":13},\"end\":{\"line\":26,\"character\":26}},\"severity\":2,\"code\":\"37\",\"source\":\"\",\"message\":\"Warning: \\\"end-if\\\" is missing\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/QualifiedNameCompletionWithFiller/input/QualifiedNameCompletionWithFiller.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/QualifiedNameCompletionWithFiller/input/QualifiedNameCompletionWithFiller.tlsp index 296c3e62d..b80770e63 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/QualifiedNameCompletionWithFiller/input/QualifiedNameCompletionWithFiller.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/QualifiedNameCompletionWithFiller/input/QualifiedNameCompletionWithFiller.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -83,7 +83,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -123,7 +123,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":19,\"character\":12},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -147,7 +147,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL6749650132091350752.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/RefreshCopiesNotif/input/RefreshCopyNotif.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/RefreshCopiesNotif/input/RefreshCopyNotif.tlsp index 0108a96e4..baf88a4de 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/RefreshCopiesNotif/input/RefreshCopyNotif.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/RefreshCopiesNotif/input/RefreshCopyNotif.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO04742822857809968410.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":20},\"end\":{\"line\":10,\"character\":33}},\"severity\":1,\"code\":\"28\",\"source\":\"text-name identifies the copy text. library-name identifies where the copy text exists\",\"message\":\"Failed to load COPY : Cobol source file not found: YDVZERL\"},{\"range\":{\"start\":{\"line\":12,\"character\":20},\"end\":{\"line\":12,\"character\":33}},\"severity\":1,\"code\":\"28\",\"source\":\"text-name identifies the copy text. library-name identifies where the copy text exists\",\"message\":\"Failed to load COPY : Cobol source file not found: YSTIEM1\"},{\"range\":{\"start\":{\"line\":10,\"character\":11},\"end\":{\"line\":10,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":12,\"character\":11},\"end\":{\"line\":12,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO04742822857809968410.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":10,\"character\":20},\"end\":{\"line\":10,\"character\":33}},\"severity\":1,\"code\":\"28\",\"source\":\"text-name identifies the copy text. library-name identifies where the copy text exists\",\"message\":\"Failed to load COPY : Cobol source file not found: YDVZERL\"},{\"range\":{\"start\":{\"line\":12,\"character\":20},\"end\":{\"line\":12,\"character\":33}},\"severity\":1,\"code\":\"28\",\"source\":\"text-name identifies the copy text. library-name identifies where the copy text exists\",\"message\":\"Failed to load COPY : Cobol source file not found: YSTIEM1\"},{\"range\":{\"start\":{\"line\":10,\"character\":11},\"end\":{\"line\":10,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"},{\"range\":{\"start\":{\"line\":12,\"character\":11},\"end\":{\"line\":12,\"character\":17}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"typecobol/missingCopies\",\"params\":{\"textDocument\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO04742822857809968410.cee\"},\"Copies\":[\"YDVZERL\",\"YSTIEM1\"],\"CpyCopies\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"typecobol/missingCopies\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/DVZZBCO04742822857809968410.cee\"},\"Copies\":[\"YDVZERL\",\"YSTIEM1\"],\"CpyCopies\":[]}}" }, { "category": 0, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/RemoveDataDivisionCtrlZWithDiag/input/RemoveDataDivisionCtrlZWithDiag.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/RemoveDataDivisionCtrlZWithDiag/input/RemoveDataDivisionCtrlZWithDiag.tlsp index 4fa12b489..07efd0be7 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/RemoveDataDivisionCtrlZWithDiag/input/RemoveDataDivisionCtrlZWithDiag.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/RemoveDataDivisionCtrlZWithDiag/input/RemoveDataDivisionCtrlZWithDiag.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -20,7 +20,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -32,7 +32,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":8,\"character\":8},\"end\":{\"line\":8,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":8},\"end\":{\"line\":9,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":10,\"character\":8},\"end\":{\"line\":10,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":11,\"character\":8},\"end\":{\"line\":11,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":12,\"character\":8},\"end\":{\"line\":12,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '88' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":14,\"character\":8},\"end\":{\"line\":14,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":15,\"character\":11},\"end\":{\"line\":15,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":13},\"end\":{\"line\":16,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '06' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":11},\"end\":{\"line\":17,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":18,\"character\":13},\"end\":{\"line\":18,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '06' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":11},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":5,\"character\":8},\"end\":{\"line\":5,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'WORKING-STORAGESECTION.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, EnvironmentDivisionHeader, DataDivisionHeader, ProcedureDivisionHeader, LibraryCopy}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":6,\"character\":8},\"end\":{\"line\":6,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":8,\"character\":8},\"end\":{\"line\":8,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":9,\"character\":8},\"end\":{\"line\":9,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":10,\"character\":8},\"end\":{\"line\":10,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":11,\"character\":8},\"end\":{\"line\":11,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":12,\"character\":8},\"end\":{\"line\":12,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":13,\"character\":12},\"end\":{\"line\":13,\"character\":13}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '88' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":14,\"character\":8},\"end\":{\"line\":14,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '01' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":15,\"character\":11},\"end\":{\"line\":15,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":16,\"character\":13},\"end\":{\"line\":16,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '06' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":17,\"character\":11},\"end\":{\"line\":17,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":18,\"character\":13},\"end\":{\"line\":18,\"character\":14}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '06' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":19,\"character\":11},\"end\":{\"line\":19,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '05' expecting {separator, numeric literal, character string, symbol, statement starting keyword, keyword, Formalized Comments elements, Sql statement starting keyword}\"},{\"range\":{\"start\":{\"line\":5,\"character\":8},\"end\":{\"line\":5,\"character\":31}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input 'WORKING-STORAGESECTION.' expecting {ProgramIdentification, ProgramEnd, ClassIdentification, EnvironmentDivisionHeader, DataDivisionHeader, ProcedureDivisionHeader, LibraryCopy}\"}]}}" }, { "category": 2, @@ -48,7 +48,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/ReplacingSyntaxOff/input/replacingSyntaxOff.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/ReplacingSyntaxOff/input/replacingSyntaxOff.tlsp index 522350007..9ac793d6e 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/ReplacingSyntaxOff/input/replacingSyntaxOff.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/ReplacingSyntaxOff/input/replacingSyntaxOff.tlsp @@ -15,11 +15,11 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX02229180100554248398.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":23},\"end\":{\"line\":12,\"character\":42}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol CONVEAL-TESTVEA-TEST is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX02229180100554248398.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":23},\"end\":{\"line\":12,\"character\":42}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol CONVEAL-TESTVEA-TEST is not referenced\"}]}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX02229180100554248398.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":23},\"end\":{\"line\":12,\"character\":42}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol CONVEAL-TESTVEA-TEST is not referenced\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX02229180100554248398.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":12,\"character\":23},\"end\":{\"line\":12,\"character\":42}},\"severity\":1,\"code\":\"30\",\"source\":\"Page\",\"message\":\"Semantic error: Symbol CONVEAL-TESTVEA-TEST is not referenced\"}]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/BALLMA/AppData/Local/Temp/1/tcbl/TCOZBMX02229180100554248398.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SelectEndSuppressSaveUndo/input/SelectEndSuppressSaveUndo.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SelectEndSuppressSaveUndo/input/SelectEndSuppressSaveUndo.tlsp index c4f990d84..2aeeed2ab 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SelectEndSuppressSaveUndo/input/SelectEndSuppressSaveUndo.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SelectEndSuppressSaveUndo/input/SelectEndSuppressSaveUndo.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5496314490461340137.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5496314490461340137.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -27,7 +27,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5496314490461340137.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5496314490461340137.cee\",\"diagnostics\":[]}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/MAYANJE/AppData/Local/Temp/1/tcbl/DVZZJCM5496314490461340137.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SetToAddressOfCompletion/input/SetToAddressOfCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SetToAddressOfCompletion/input/SetToAddressOfCompletion.tlsp index 3ccf81099..383d37ccd 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SetToAddressOfCompletion/input/SetToAddressOfCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SetToAddressOfCompletion/input/SetToAddressOfCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" }, { "category": 0, @@ -31,7 +31,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" }, { "category": 2, @@ -59,7 +59,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'SET ... .'\"}]}}" }, { "category": 2, @@ -83,7 +83,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -140,7 +140,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":26,\"character\":8},\"end\":{\"line\":26,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -168,7 +168,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletion/input/SimpleMoveToCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletion/input/SimpleMoveToCompletion.tlsp index f04bb2497..02e70d2b5 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletion/input/SimpleMoveToCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletion/input/SimpleMoveToCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -67,7 +67,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -95,7 +95,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletionNoTC/input/SimpleMoveToCompletionNoTC.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletionNoTC/input/SimpleMoveToCompletionNoTC.tlsp index b304ff83f..e28d0680d 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletionNoTC/input/SimpleMoveToCompletionNoTC.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SimpleMoveToCompletionNoTC/input/SimpleMoveToCompletionNoTC.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -39,7 +39,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -67,7 +67,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":12},\"end\":{\"line\":25,\"character\":12}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -95,7 +95,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineEmptyLine/input/SupprEndLineEmptyLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineEmptyLine/input/SupprEndLineEmptyLine.tlsp index 5c6a48141..834dd2b44 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineEmptyLine/input/SupprEndLineEmptyLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineEmptyLine/input/SupprEndLineEmptyLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[24,30:SECTION]
\\r\\n[31,31+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [31,31+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineTextedLine/input/SupprEndLineTextedLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineTextedLine/input/SupprEndLineTextedLine.tlsp index 2f1159081..15f2a4432 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineTextedLine/input/SupprEndLineTextedLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SupprEndLineTextedLine/input/SupprEndLineTextedLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION. WORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION. WORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,22:. ]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [29,43:WORKING-STORAGE] --> [52,52+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,22:. ]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [29,43:WORKING-STORAGE] --> [52,52+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION. WORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION. WORKING-STORAGE SECTION.\\r\\n01 W-Date TYPE Date.\\r\\n01 W-Bool TYPE Bool.\\r\\n01 MyText PIC X(1).\\r\\n01 W-OutDate TYPE Date.\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,22:. ]\\r\\n[29,43:WORKING-STORAGE]\\r\\n[45,51:SECTION]
\\r\\n[52,52+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Date]\\r\\n[18,21:TYPE]\\r\\n[23,26:Date]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:W-Bool]\\r\\n[18,21:TYPE]\\r\\n[23,26:Bool]\\r\\n[27,27+:.]\\r\\n[8,9:01]{1}\\r\\n[11,16:MyText]\\r\\n[18,20:PIC]\\r\\n[22,25:X(1)]\\r\\n[26,26+:.]\\r\\n[8,9:01]{1}\\r\\n[11,19:W-OutDate]\\r\\n[21,24:TYPE]\\r\\n[26,29:Date]\\r\\n[30,30+:.]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,22:. ]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [29,43:WORKING-STORAGE] --> [52,52+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,22:. ]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [29,43:WORKING-STORAGE] --> [52,52+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [27,27+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [26,26+:.]\\r\\n\\r\\n[[DataDescriptionEntry]] [8,9:01]{1} --> [30,30+:.]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/SupprMultipleLinesFromMiddlePreviousLine/input/SupprMultipleLinesFromMiddlePreviousLine.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/SupprMultipleLinesFromMiddlePreviousLine/input/SupprMultipleLinesFromMiddlePreviousLine.tlsp index ae656efca..db9d336cf 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/SupprMultipleLinesFromMiddlePreviousLine/input/SupprMultipleLinesFromMiddlePreviousLine.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/SupprMultipleLinesFromMiddlePreviousLine/input/SupprMultipleLinesFromMiddlePreviousLine.tlsp @@ -27,35 +27,35 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"IDENTIFICATION DIVISION.\\r\\nPROGRAM-ID. TestingPgm.\\r\\n\\r\\nDATA DIVISION.\\r\\nWORKING-STORAGE \\r\\n\\r\\n\\r\\nPROCEDURE DIVISION.\\r\\n\\r\\nEND PROGRAM TestingPgm.\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[8,21:IDENTIFICATION]\\r\\n[23,30:DIVISION]\\r\\n[31,31+:.]\\r\\n[8,17:PROGRAM-ID]\\r\\n[18,19:. ]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[8,11:DATA]\\r\\n[13,20:DIVISION]\\r\\n[21,21+:.]\\r\\n[8,22:WORKING-STORAGE]\\r\\n[8,16:PROCEDURE]\\r\\n[18,25:DIVISION]\\r\\n[26,26+:.]\\r\\n[8,10:END]\\r\\n[12,18:PROGRAM]\\r\\n[20,29:TestingPgm]\\r\\n[30,30+:.]\\r\\n[1,0:]\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"window/logMessage\",\"params\":{\"type\":4,\"message\":\"[[ProgramIdentification]] [8,21:IDENTIFICATION] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n- IsInitial = False\\r\\n- IsRecursive = False\\r\\n- IsCommon = False\\r\\n\\r\\n[[DataDivisionHeader]] [8,11:DATA] --> [21,21+:.]\\r\\n\\r\\n[[WorkingStorageSectionHeader]] [8,22:WORKING-STORAGE] --> [8,22:WORKING-STORAGE]\\r\\n\\r\\n[[ProcedureDivisionHeader]] [8,16:PROCEDURE] --> [26,26+:.]\\r\\n\\r\\n[[ProgramEnd]] [8,10:END] --> [30,30+:.]\\r\\n- ProgramName = TestingPgm\\r\\n\\r\\n\",\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}" } ], "didClose": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didClose\",\"params\":{\"textDocument\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL5999350929558672564.cee\"}}}", diff --git a/TypeCobol.LanguageServer.Test/LSRTests/TypeCompletion/input/TypeCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/TypeCompletion/input/TypeCompletion.tlsp index 4f87f6337..09820b425 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/TypeCompletion/input/TypeCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/TypeCompletion/input/TypeCompletion.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -20,7 +20,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -32,7 +32,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":7,\"character\":8},\"end\":{\"line\":7,\"character\":9}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '01' expecting {user defined word, CURRENCY, DATE}\"},{\"range\":{\"start\":{\"line\":6,\"character\":11},\"end\":{\"line\":6,\"character\":16}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER).\"}]}}" }, { "category": 2, @@ -60,7 +60,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL698913763795011977.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion/input/VariableQualifiedSeparatorCompletion.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion/input/VariableQualifiedSeparatorCompletion.tlsp index 385510445..54147ab77 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion/input/VariableQualifiedSeparatorCompletion.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion/input/VariableQualifiedSeparatorCompletion.tlsp @@ -11,7 +11,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -19,7 +19,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 0, @@ -63,7 +63,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -95,7 +95,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -119,7 +119,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting TO\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL1017554363682126440.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":25,\"character\":8},\"end\":{\"line\":25,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting TO\"}]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion2/input/VaraibleQualifiedNameCompletion2.tlsp b/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion2/input/VaraibleQualifiedNameCompletion2.tlsp index 5e5957998..5ebd455da 100644 --- a/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion2/input/VaraibleQualifiedNameCompletion2.tlsp +++ b/TypeCobol.LanguageServer.Test/LSRTests/VariableQualifiedNameCompletion2/input/VaraibleQualifiedNameCompletion2.tlsp @@ -12,7 +12,7 @@ "messages": [ { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" }, { "category": 0, @@ -72,7 +72,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":8},\"end\":{\"line\":35,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":8},\"end\":{\"line\":35,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -104,7 +104,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":8},\"end\":{\"line\":35,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":8},\"end\":{\"line\":35,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -140,7 +140,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":36,\"character\":8},\"end\":{\"line\":36,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":36,\"character\":8},\"end\":{\"line\":36,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -168,7 +168,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" }, { "category": 2, @@ -204,7 +204,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'MOVE ... .'\"}]}}" }, { "category": 2, @@ -244,7 +244,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : mismatched input '.' expecting {symbol, special register, keyword}\"}]}}" }, { "category": 2, @@ -316,7 +316,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -356,7 +356,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":33,\"character\":6},\"end\":{\"line\":33,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":37,\"character\":8},\"end\":{\"line\":37,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"}]}}" }, { "category": 2, @@ -460,7 +460,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":38,\"character\":8},\"end\":{\"line\":38,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"},{\"range\":{\"start\":{\"line\":34,\"character\":6},\"end\":{\"line\":34,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":38,\"character\":8},\"end\":{\"line\":38,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : extraneous input '.' expecting user defined word\"},{\"range\":{\"start\":{\"line\":34,\"character\":6},\"end\":{\"line\":34,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"}]}}" }, { "category": 2, @@ -492,7 +492,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":6},\"end\":{\"line\":34,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":34,\"character\":6},\"end\":{\"line\":34,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"}]}}" }, { "category": 2, @@ -616,7 +616,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" }, { "category": 2, @@ -848,7 +848,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" }, { "category": 2, @@ -888,7 +888,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" }, { "category": 2, @@ -928,7 +928,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[{\"range\":{\"start\":{\"line\":35,\"character\":6},\"end\":{\"line\":35,\"character\":6}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : Line exceed 80 chars\"},{\"range\":{\"start\":{\"line\":39,\"character\":8},\"end\":{\"line\":39,\"character\":8}},\"severity\":1,\"code\":\"27\",\"source\":\"Find the syntax diagram describing the statement in error in the language reference\",\"message\":\"Syntax error : no viable alternative at input 'ADD ... .'\"}]}}" }, { "category": 2, @@ -960,7 +960,7 @@ }, { "category": 1, - "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:///C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" + "message": "{\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"uri\":\"file:/C:/Users/COLLARBE/AppData/Local/Temp/tcbl/PROCCALL649301154637190760.cee\",\"diagnostics\":[]}}" }, { "category": 2, diff --git a/TypeCobol.LanguageServer/TypeCobolServer.cs b/TypeCobol.LanguageServer/TypeCobolServer.cs index 1ff94a482..18758aeba 100644 --- a/TypeCobol.LanguageServer/TypeCobolServer.cs +++ b/TypeCobol.LanguageServer/TypeCobolServer.cs @@ -89,7 +89,7 @@ private bool Logger(string message, Uri uri) { type = MessageType.Log, message = message, - textDocument = new TextDocumentIdentifier(uri.ToString()) + textDocument = new TextDocumentIdentifier(uri) }; this.RpcServer.SendNotification(UriLogMessageNotification.Type, uriLogMessageParams); } @@ -187,7 +187,7 @@ private void MissingCopiesDetected(object fileUri, MissingCopiesEvent missingCop //This event can be used when a dependency have not been loaded //Send missing copies to client - MissingCopiesDetected(new TextDocumentIdentifier(fileUri.ToString()), missingCopiesEvent.Copies); + MissingCopiesDetected(new TextDocumentIdentifier((Uri)fileUri), missingCopiesEvent.Copies); } /// @@ -207,7 +207,10 @@ private void DiagnosticsDetected(object fileUri, DiagnosticEvent diagnosticEvent diag.Info.ReferenceText)); } - diagParameter.uri = fileUri.ToString(); + // Gets the original URI (which was set by the client) + // DON'T use ToString() as it returns the canonically unescaped form of the URI + // (it may cause issue if the path contains some blanks which need to be escaped) + diagParameter.uri = ((Uri)fileUri).OriginalString; diagParameter.diagnostics = diagList.ToArray(); this.RpcServer.SendNotification(PublishDiagnosticsNotification.Type, diagParameter); } diff --git a/TypeCobol.LanguageServer/VsCodeProtocol/Text Document/TextDocumentIdentifier.cs b/TypeCobol.LanguageServer/VsCodeProtocol/Text Document/TextDocumentIdentifier.cs index d733c0096..5231c30fe 100644 --- a/TypeCobol.LanguageServer/VsCodeProtocol/Text Document/TextDocumentIdentifier.cs +++ b/TypeCobol.LanguageServer/VsCodeProtocol/Text Document/TextDocumentIdentifier.cs @@ -17,11 +17,23 @@ public class TextDocumentIdentifier /// /// Creates a new TextDocumentIdentifier literal. - /// @param uri The document's uri. /// + /// The document's uri. public TextDocumentIdentifier(string uri) { this.uri = uri; } + + /// + /// Creates a new TextDocumentIdentifier literal. + /// + /// The document's uri. + internal TextDocumentIdentifier(Uri uri) + { + // Gets the original URI (which was set by the client) + // DON'T use ToString() as it returns the canonically unescaped form of the URI + // (it may cause issue if the path contains some blanks which need to be escaped) + this.uri = uri.OriginalString; + } } }