Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2021-06-03 14:57:07,890 - DEBUG - No global extra conf, not calling method YcmCorePreload
- 2021-06-03 14:57:07,924 - INFO - Completion config: 50, detailing -1 candiates
- 2021-06-03 14:57:07,924 - INFO - Completion config: 50, detailing -1 candiates
- 2021-06-03 14:57:07,924 - INFO - Completion config: 50, detailing -1 candiates
- 2021-06-03 14:57:07,924 - INFO - Completion config: 50, detailing -1 candiates
- 127.0.0.1 - - [03/Jun/2021 14:57:07] "GET /ready HTTP/1.1" 200 4
- 2021-06-03 14:57:08,009 - DEBUG - Event name: BufferVisit
- 2021-06-03 14:57:08,011 - INFO - Completion config: 50, detailing -1 candiates
- 127.0.0.1 - - [03/Jun/2021 14:57:08] "POST /event_notification HTTP/1.1" 200 2
- 127.0.0.1 - - [03/Jun/2021 14:57:08] "GET /signature_help_available?subserver=crystal HTTP/1.1" 200 23
- 2021-06-03 14:57:08,020 - DEBUG - Event name: FileReadyToParse
- 2021-06-03 14:57:08,020 - INFO - Adding buffer identifiers for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 2021-06-03 14:57:08,022 - INFO - Starting crystalCompleter: ['/usr/local/bin/crystalline']
- 2021-06-03 14:57:08,028 - INFO - crystalCompleter started with PID 77007
- 2021-06-03 14:57:08,029 - DEBUG - TX: Sending message: b'Content-Length: 1249\r\n\r\n{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":false,"labelSupport":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"hover":{"contentFormat":["plaintext","markdown"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"documentChanges":true}}},"initializationOptions":{},"processId":76993,"rootPath":"/home/anton_7c3/_progs/test/htsrv","rootUri":"file:///home/anton_7c3/_progs/test/htsrv"}}'
- 127.0.0.1 - - [03/Jun/2021 14:57:08] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:57:08,083 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":2,"completionProvider":{"triggerCharacters":[".",":","@"]},"hoverProvider":true,"definitionProvider":true,"documentSymbolProvider":true,"documentFormattingProvider":true,"documentRangeFormattingProvider":true}}}'
- 2021-06-03 14:57:08,083 - INFO - None: Language server does not require resolve request
- 2021-06-03 14:57:08,083 - INFO - None: Language server requires sync type of Incremental
- 2021-06-03 14:57:08,083 - DEBUG - crystal: Server declares trigger characters: ['.', ':', '@']
- 2021-06-03 14:57:08,083 - INFO - crystal: Using trigger characters for semantic triggers: .,:,@
- 2021-06-03 14:57:08,083 - DEBUG - crystal: Server declares signature trigger characters: []
- 2021-06-03 14:57:08,083 - DEBUG - TX: Sending notification: b'Content-Length: 52\r\n\r\n{"jsonrpc":"2.0","method":"initialized","params":{}}'
- 2021-06-03 14:57:08,084 - DEBUG - TX: Sending notification: b'Content-Length: 86\r\n\r\n{"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}'
- 2021-06-03 14:57:08,084 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action Open
- 2021-06-03 14:57:08,084 - DEBUG - TX: Sending notification: b'Content-Length: 558\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"crystal","text":"require \\"http/server\\"\\n\\nserver = HTTP::Server.new do |context|\\n context.response.content_type = \\"text/plain\\"\\n context.response.print \\"Hello world!\\"\\nend\\n\\nspawn do\\n address = server.bind_tcp 8080\\n puts \\"Listening on http://#{address}\\"\\n server.listen\\nend\\n\\nsleep 1.second\\n\\nloop do\\n break unless server.listening?\\n Fiber.yield\\nend\\n\\nputs \\"Done\\"\\n","uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr","version":1}}}'
- 2021-06-03 14:57:08,084 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"Crystalline LSP server is ready."}}'
- 2021-06-03 14:57:08,094 - INFO - Server reported: Crystalline LSP server is ready.
- 127.0.0.1 - - [03/Jun/2021 14:57:08] "POST /semantic_completion_available HTTP/1.1" 200 4
- 2021-06-03 14:57:10,396 - DEBUG - Event name: CurrentIdentifierFinished
- 2021-06-03 14:57:10,396 - INFO - Adding ONE buffer identifier for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:57:10,514 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /completions HTTP/1.1" 200 58
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "GET /signature_help_available?subserver=crystal HTTP/1.1" 200 18
- 2021-06-03 14:57:10,695 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /completions HTTP/1.1" 200 432
- 2021-06-03 14:57:10,849 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /completions HTTP/1.1" 200 163
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:57:10,920 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /completions HTTP/1.1" 200 163
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:57:10,992 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /completions HTTP/1.1" 200 163
- 127.0.0.1 - - [03/Jun/2021 14:57:10] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:57:11,131 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:57:11] "POST /completions HTTP/1.1" 200 163
- 127.0.0.1 - - [03/Jun/2021 14:57:11] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:57:11,646 - DEBUG - Event name: CurrentIdentifierFinished
- 127.0.0.1 - - [03/Jun/2021 14:57:11] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:57:11,654 - INFO - Adding ONE buffer identifier for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 127.0.0.1 - - [03/Jun/2021 14:57:11] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:57:11,655 - DEBUG - Using filetype completion: True
- 2021-06-03 14:57:11,656 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action Change
- 2021-06-03 14:57:11,656 - DEBUG - TX: Sending notification: b'Content-Length: 567\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"require \\"http/server\\"\\n\\nserver = HTTP::Server.new do |context|\\n context.response.content_type = \\"text/plain\\"\\n context.response.print \\"Hello world!\\"\\nend\\n\\nspawn do\\n address = server.bind_tcp 8080\\n puts \\"Listening on http://#{address}\\"\\n server.listen\\nend\\n\\nsleep 1.second\\nserver.\\n\\nloop do\\n break unless server.listening?\\n Fiber.yield\\nend\\n\\nputs \\"Done\\"\\n"}],"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr","version":2}}}'
- 2021-06-03 14:57:11,656 - DEBUG - TX: Sending message: b'Content-Length: 184\r\n\r\n{"id":2,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":14},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 14:57:11,657 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/0"}}'
- 2021-06-03 14:57:11,657 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 2021-06-03 14:57:11,657 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/0","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 2021-06-03 14:57:12,101 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/0","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 14:57:12,106 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":2,"result":{"isIncomplete":false,"items":[]}}'
- 127.0.0.1 - - [03/Jun/2021 14:57:12] "POST /completions HTTP/1.1" 200 58
- 2021-06-03 14:57:13,439 - DEBUG - Using filetype completion: True
- 2021-06-03 14:57:13,440 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 2021-06-03 14:57:13,441 - DEBUG - TX: Sending message: b'Content-Length: 184\r\n\r\n{"id":3,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":14},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 14:57:13,443 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/1"}}'
- 2021-06-03 14:57:13,443 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 2021-06-03 14:57:13,445 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/1","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 2021-06-03 14:57:13,888 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/1","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 14:57:13,892 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":3,"result":{"isIncomplete":false,"items":[]}}'
- 127.0.0.1 - - [03/Jun/2021 14:57:13] "POST /completions HTTP/1.1" 200 58
- 2021-06-03 14:57:14,358 - DEBUG - Event name: FileReadyToParse
- 2021-06-03 14:57:14,359 - INFO - Adding buffer identifiers for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 2021-06-03 14:57:14,361 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 127.0.0.1 - - [03/Jun/2021 14:57:14] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:57:14,372 - DEBUG - Event name: InsertLeave
- 127.0.0.1 - - [03/Jun/2021 14:57:14] "POST /event_notification HTTP/1.1" 200 2
- 127.0.0.1 - - [03/Jun/2021 14:57:17] "POST /debug_info HTTP/1.1" 200 571
- 127.0.0.1 - - [03/Jun/2021 14:57:22] "POST /receive_messages HTTP/1.1" 200 5
- 127.0.0.1 - - [03/Jun/2021 14:57:23] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 14:57:33] "POST /receive_messages HTTP/1.1" 200 4
- 2021-06-03 14:58:26,108 - INFO - No support for ExecuteCommand command in server for crystal
- 2021-06-03 14:58:26,108 - INFO - No support for FixIt command in server for crystal
- 2021-06-03 14:58:26,109 - INFO - Found definitionProvider support for command GoToDefinition in crystal
- 2021-06-03 14:58:26,109 - INFO - Found definitionProvider support for command GoToDeclaration in crystal
- 2021-06-03 14:58:26,109 - INFO - Found definitionProvider support for command GoTo in crystal
- 2021-06-03 14:58:26,109 - INFO - No support for GoToType command in server for crystal
- 2021-06-03 14:58:26,110 - INFO - No support for GoToImplementation command in server for crystal
- 2021-06-03 14:58:26,110 - INFO - No support for GoToReferences command in server for crystal
- 2021-06-03 14:58:26,110 - INFO - No support for RefactorRename command in server for crystal
- 2021-06-03 14:58:26,110 - INFO - Found documentFormattingProvider support for command Format in crystal
- 2021-06-03 14:58:26,111 - INFO - No support for GoToSymbol command in server for crystal
- 2021-06-03 14:58:26,111 - INFO - Found documentSymbolProvider support for command GoToDocumentOutline in crystal
- 2021-06-03 14:58:26,111 - INFO - Always supporting StopServer for crystal
- 2021-06-03 14:58:26,111 - INFO - Always supporting RestartServer for crystal
- 2021-06-03 14:58:26,112 - INFO - Always supporting GetHover for crystal
- 127.0.0.1 - - [03/Jun/2021 14:58:26] "POST /defined_subcommands HTTP/1.1" 200 101
- 2021-06-03 14:58:26,124 - INFO - No support for ExecuteCommand command in server for crystal
- 2021-06-03 14:58:26,125 - INFO - No support for FixIt command in server for crystal
- 2021-06-03 14:58:26,125 - INFO - Found definitionProvider support for command GoToDefinition in crystal
- 2021-06-03 14:58:26,125 - INFO - Found definitionProvider support for command GoToDeclaration in crystal
- 2021-06-03 14:58:26,125 - INFO - Found definitionProvider support for command GoTo in crystal
- 2021-06-03 14:58:26,126 - INFO - No support for GoToType command in server for crystal
- 2021-06-03 14:58:26,126 - INFO - No support for GoToImplementation command in server for crystal
- 2021-06-03 14:58:26,126 - INFO - No support for GoToReferences command in server for crystal
- 2021-06-03 14:58:26,127 - INFO - No support for RefactorRename command in server for crystal
- 2021-06-03 14:58:26,127 - INFO - Found documentFormattingProvider support for command Format in crystal
- 2021-06-03 14:58:26,127 - INFO - No support for GoToSymbol command in server for crystal
- 2021-06-03 14:58:26,127 - INFO - Found documentSymbolProvider support for command GoToDocumentOutline in crystal
- 2021-06-03 14:58:26,128 - INFO - Always supporting StopServer for crystal
- 2021-06-03 14:58:26,128 - INFO - Always supporting RestartServer for crystal
- 2021-06-03 14:58:26,128 - INFO - Always supporting GetHover for crystal
- 2021-06-03 14:58:26,128 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 2021-06-03 14:58:26,129 - DEBUG - TX: Sending message: b'Content-Length: 180\r\n\r\n{"id":4,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":14,"line":10},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 14:58:26,131 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/2"}}'
- 2021-06-03 14:58:26,131 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 2021-06-03 14:58:26,133 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/2","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 2021-06-03 14:58:26,546 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/2","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 14:58:26,706 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":4,"result":{"contents":{"kind":"markdown","value":""}}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:26] "POST /run_completer_command HTTP/1.1" 200 20
- 2021-06-03 14:58:32,289 - DEBUG - Using filetype completion: True
- 2021-06-03 14:58:32,290 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 2021-06-03 14:58:32,291 - DEBUG - TX: Sending message: b'Content-Length: 184\r\n\r\n{"id":5,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":14},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 14:58:32,295 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":5,"result":{"isIncomplete":false,"items":[]}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:32] "POST /completions HTTP/1.1" 200 58
- 2021-06-03 14:58:33,931 - DEBUG - Using filetype completion: True
- 2021-06-03 14:58:33,935 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action Change
- 2021-06-03 14:58:33,936 - DEBUG - TX: Sending notification: b'Content-Length: 566\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"require \\"http/server\\"\\n\\nserver = HTTP::Server.new do |context|\\n context.response.content_type = \\"text/plain\\"\\n context.response.print \\"Hello world!\\"\\nend\\n\\nspawn do\\n address = server.bind_tcp 8080\\n puts \\"Listening on http://#{address}\\"\\n server.listen\\nend\\n\\nsleep 1.second\\nserver\\n\\nloop do\\n break unless server.listening?\\n Fiber.yield\\nend\\n\\nputs \\"Done\\"\\n"}],"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr","version":3}}}'
- 2021-06-03 14:58:33,937 - DEBUG - TX: Sending message: b'Content-Length: 184\r\n\r\n{"id":6,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":6,"line":14},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:33] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:58:33,939 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/4"}}'
- 2021-06-03 14:58:33,940 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 2021-06-03 14:58:33,941 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/4","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 2021-06-03 14:58:34,427 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/4","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 14:58:34,432 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":6,"result":{"isIncomplete":false,"items":[]}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:34] "POST /completions HTTP/1.1" 200 58
- 2021-06-03 14:58:35,897 - DEBUG - Event name: FileReadyToParse
- 2021-06-03 14:58:35,897 - INFO - Adding buffer identifiers for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 2021-06-03 14:58:35,901 - DEBUG - Event name: InsertLeave
- 2021-06-03 14:58:35,903 - INFO - Adding ONE buffer identifier for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 127.0.0.1 - - [03/Jun/2021 14:58:35] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:58:35,905 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 127.0.0.1 - - [03/Jun/2021 14:58:35] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:58:38,429 - DEBUG - Event name: CurrentIdentifierFinished
- 2021-06-03 14:58:38,430 - INFO - Adding ONE buffer identifier for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 2021-06-03 14:58:38,433 - DEBUG - Using filetype completion: True
- 2021-06-03 14:58:38,433 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action Change
- 2021-06-03 14:58:38,434 - DEBUG - TX: Sending notification: b'Content-Length: 567\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"require \\"http/server\\"\\n\\nserver = HTTP::Server.new do |context|\\n context.response.content_type = \\"text/plain\\"\\n context.response.print \\"Hello world!\\"\\nend\\n\\nspawn do\\n address = server.bind_tcp 8080\\n puts \\"Listening on http://#{address}\\"\\n server.listen\\nend\\n\\nsleep 1.second\\nserver.\\n\\nloop do\\n break unless server.listening?\\n Fiber.yield\\nend\\n\\nputs \\"Done\\"\\n"}],"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr","version":4}}}'
- 2021-06-03 14:58:38,434 - DEBUG - TX: Sending message: b'Content-Length: 184\r\n\r\n{"id":7,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":14},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 14:58:38,435 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/5"}}'
- 2021-06-03 14:58:38,435 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 127.0.0.1 - - [03/Jun/2021 14:58:38] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:58:38,436 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/5","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:38] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:58:38,790 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/5","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 14:58:38,794 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":7,"result":{"isIncomplete":false,"items":[]}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:38] "POST /completions HTTP/1.1" 200 58
- 2021-06-03 14:58:41,299 - DEBUG - Using filetype completion: False
- 127.0.0.1 - - [03/Jun/2021 14:58:41] "POST /completions HTTP/1.1" 200 163
- 127.0.0.1 - - [03/Jun/2021 14:58:41] "POST /signature_help HTTP/1.1" 200 88
- 2021-06-03 14:58:43,461 - DEBUG - Event name: InsertLeave
- 2021-06-03 14:58:43,461 - INFO - Adding ONE buffer identifier for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 127.0.0.1 - - [03/Jun/2021 14:58:43] "POST /event_notification HTTP/1.1" 200 2
- 2021-06-03 14:58:43,462 - DEBUG - Event name: FileReadyToParse
- 2021-06-03 14:58:43,462 - INFO - Adding buffer identifiers for file: /home/anton_7c3/_progs/test/htsrv/example.cr
- 2021-06-03 14:58:43,462 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action Change
- 2021-06-03 14:58:43,462 - DEBUG - TX: Sending notification: b'Content-Length: 566\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"require \\"http/server\\"\\n\\nserver = HTTP::Server.new do |context|\\n context.response.content_type = \\"text/plain\\"\\n context.response.print \\"Hello world!\\"\\nend\\n\\nspawn do\\n address = server.bind_tcp 8080\\n puts \\"Listening on http://#{address}\\"\\n server.listen\\nend\\n\\nsleep 1.second\\nserver\\n\\nloop do\\n break unless server.listening?\\n Fiber.yield\\nend\\n\\nputs \\"Done\\"\\n"}],"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr","version":5}}}'
- 127.0.0.1 - - [03/Jun/2021 14:58:43] "POST /event_notification HTTP/1.1" 200 2
- 127.0.0.1 - - [03/Jun/2021 14:58:48] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 14:59:08] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 14:59:32] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:02:44] "POST /receive_messages HTTP/1.1" 200 4
- 2021-06-03 15:02:46,924 - INFO - No support for ExecuteCommand command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - No support for FixIt command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - Found definitionProvider support for command GoToDefinition in crystal
- 2021-06-03 15:02:46,924 - INFO - Found definitionProvider support for command GoToDeclaration in crystal
- 2021-06-03 15:02:46,924 - INFO - Found definitionProvider support for command GoTo in crystal
- 2021-06-03 15:02:46,924 - INFO - No support for GoToType command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - No support for GoToImplementation command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - No support for GoToReferences command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - No support for RefactorRename command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - Found documentFormattingProvider support for command Format in crystal
- 2021-06-03 15:02:46,924 - INFO - No support for GoToSymbol command in server for crystal
- 2021-06-03 15:02:46,924 - INFO - Found documentSymbolProvider support for command GoToDocumentOutline in crystal
- 2021-06-03 15:02:46,924 - INFO - Always supporting StopServer for crystal
- 2021-06-03 15:02:46,924 - INFO - Always supporting RestartServer for crystal
- 2021-06-03 15:02:46,924 - INFO - Always supporting GetHover for crystal
- 2021-06-03 15:02:46,924 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 2021-06-03 15:02:46,925 - DEBUG - TX: Sending message: b'Content-Length: 178\r\n\r\n{"id":8,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":0,"line":0},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 15:02:46,925 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"window/workDoneProgress/create","params":{"token":"workspace/compile/6"}}'
- 2021-06-03 15:02:46,925 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":0,"jsonrpc":"2.0"}'
- 2021-06-03 15:02:46,926 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/6","value":{"title":"Building","message":"/home/anton_7c3/_progs/test/htsrv/example.cr","kind":"begin"}}}'
- 2021-06-03 15:02:47,362 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"$/progress","params":{"token":"workspace/compile/6","value":{"message":"Completed successfully.","kind":"end"}}}'
- 2021-06-03 15:02:47,366 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":8,"result":{"contents":{"kind":"markdown","value":"```crystal\\nrequire \\"http/server\\"\\n```"}}}'
- 127.0.0.1 - - [03/Jun/2021 15:02:47] "POST /run_completer_command HTTP/1.1" 200 60
- 127.0.0.1 - - [03/Jun/2021 15:02:57] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:07] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:17] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:27] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:37] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:47] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:03:57] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:04:07] "POST /receive_messages HTTP/1.1" 200 4
- 127.0.0.1 - - [03/Jun/2021 15:04:17] "POST /receive_messages HTTP/1.1" 200 4
- 2021-06-03 15:04:18,626 - INFO - No support for ExecuteCommand command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - No support for FixIt command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - Found definitionProvider support for command GoToDefinition in crystal
- 2021-06-03 15:04:18,626 - INFO - Found definitionProvider support for command GoToDeclaration in crystal
- 2021-06-03 15:04:18,626 - INFO - Found definitionProvider support for command GoTo in crystal
- 2021-06-03 15:04:18,626 - INFO - No support for GoToType command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - No support for GoToImplementation command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - No support for GoToReferences command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - No support for RefactorRename command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - Found documentFormattingProvider support for command Format in crystal
- 2021-06-03 15:04:18,626 - INFO - No support for GoToSymbol command in server for crystal
- 2021-06-03 15:04:18,626 - INFO - Found documentSymbolProvider support for command GoToDocumentOutline in crystal
- 2021-06-03 15:04:18,627 - INFO - Always supporting StopServer for crystal
- 2021-06-03 15:04:18,627 - INFO - Always supporting RestartServer for crystal
- 2021-06-03 15:04:18,627 - INFO - Always supporting GetHover for crystal
- 2021-06-03 15:04:18,627 - DEBUG - Refreshing file /home/anton_7c3/_progs/test/htsrv/example.cr: State is Open/action None
- 2021-06-03 15:04:18,627 - DEBUG - TX: Sending message: b'Content-Length: 178\r\n\r\n{"id":9,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":1,"line":0},"textDocument":{"uri":"file:///home/anton_7c3/_progs/test/htsrv/example.cr"}}}'
- 2021-06-03 15:04:18,629 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":9,"result":{"contents":{"kind":"markdown","value":"```crystal\\nrequire \\"http/server\\"\\n```"}}}'
- 127.0.0.1 - - [03/Jun/2021 15:04:18] "POST /run_completer_command HTTP/1.1" 200 60
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement