Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- [10:05:07.326456] Send textDocument/signatureHelp request (25081) to 'ccls' for project keyd
- Recv message (error):
- {
- "id": 25081,
- "method": "textDocument/signatureHelp",
- "params": {
- "position": {
- "line": 25,
- "character": 0
- },
- "textDocument": {
- "uri": "file:///Users/liubo/p/keyd/src/config.c"
- }
- },
- "message_type": "request",
- "jsonrpc": "2.0"
- }
- {
- "jsonrpc": "2.0",
- "id": 44704,
- "error": {
- "code": -32603,
- "message": "drop older completion request"
- }
- }
- Eval in Emacs: (message '"[LSP-Bridge] drop older completion request")
- --- [10:05:07.380203] Send textDocument/didChange notification to 'ccls' for project keyd
- --- [10:05:07.380289] Recv textDocument/signatureHelp response (25081) from 'ccls' for project keyd
- {
- "method": "textDocument/didChange",
- "params": {
- "textDocument": {
- "uri": "file:///Users/liubo/p/keyd/src/config.c",
- "version": 22
- },
- "contentChanges": [
- {
- "range": {
- "start": {
- "line": 24,
- "character": 20
- },
- "end": {
- "line": 25,
- "character": 0
- }
- },
- "rangeLength": 1,
- "text": ""
- }
- ]
- },
- "message_type": "notification",
- "jsonrpc": "2.0"
- }
- {
- "jsonrpc": "2.0",
- "id": 25081,
- "result": {
- "signatures": [],
- "activeSignature": 0,
- "activeParameter": 0
- }
- }
- --- [10:05:07.390374] Send textDocument/completion request (5028) to 'ccls' for project keyd
- Discard outdated response: received=25081, latest=25009
- {
- "id": 5028,
- "method": "textDocument/completion",
- "params": {
- "position": {
- "line": 24,
- "character": 20
- },
- "context": {
- "triggerCharacter": "\"",
- "triggerKind": 2
- },
- "textDocument": {
- "uri": "file:///Users/liubo/p/keyd/src/config.c"
- }
- },
- "message_type": "request",
- "jsonrpc": "2.0"
- }
- --- [10:05:07.396409] Recv textDocument/completion response (5028) from 'ccls' for project keyd
- {
- "jsonrpc": "2.0",
- "id": 5028,
- "result": {
- "isIncomplete": false,
- "items": []
- }
- }
- --- [10:05:07.456574] Got completion candidates (0) from 'ccls' for file config.c
- --- [10:05:07.456641] Record completion candidates (0) from 'ccls' for file config.c
- Eval in Emacs: (lsp-bridge-completion--record-items '"/Users/liubo/p/keyd/src/config.c" '"" '() '(:line 24 :character 20) '"ccls" '("." ":" ">" "#" "<" "\"" "/") '("ccls"))
- --- [10:05:07.457156] Send textDocument/signatureHelp request (25009) to 'ccls' for project keyd
- --- [10:05:07.463619] Recv textDocument/signatureHelp response (25009) from 'ccls' for project keyd
- {
- "id": 25009,
- "method": "textDocument/signatureHelp",
- "params": {
- "position": {
- "line": 24,
- "character": 20
- },
- "textDocument": {
- "uri": "file:///Users/liubo/p/keyd/src/config.c"
- }
- },
- "message_type": "request",
- "jsonrpc": "2.0"
- }
- {
- "jsonrpc": "2.0",
- "id": 25009,
- "result": {
- "signatures": [],
- "activeSignature": 0,
- "activeParameter": 0
- }
- }
- Eval in Emacs: (lsp-bridge-diagnostic--render '"/Users/liubo/p/keyd/src/config.c" '"" '((:range (:start (:line 100 :character 47) :end (:line 100 :character 55)) :severity 1 :code 2 :source "ccls" :message "use of undeclared identifier 'DATA_DIR'" :relatedInformation () :server-name "ccls")))
- --- [10:05:07.780850] Recv textDocument/publishDiagnostics notification from 'ccls' for project keyd
- --- [10:05:07.780969] Record diagnostics from 'ccls' for file config.c
- {
- "jsonrpc": "2.0",
- "method": "textDocument/publishDiagnostics",
- "params": {
- "uri": "file:///Users/liubo/p/keyd/src/config.c",
- "diagnostics": [
- {
- "range": {
- "start": {
- "line": 99,
- "character": 47
- },
- "end": {
- "line": 99,
- "character": 55
- }
- },
- "severity": 1,
- "code": 2,
- "source": "ccls",
- "message": "use of undeclared identifier 'DATA_DIR'",
- "relatedInformation": []
- }
- ]
- }
- }
- Eval in Emacs: (lsp-bridge-diagnostic--render '"/Users/liubo/p/keyd/src/config.c" '"" '((:range (:start (:line 99 :character 47) :end (:line 99 :character 55)) :severity 1 :code 2 :source "ccls" :message "use of undeclared identifier 'DATA_DIR'" :relatedInformation () :server-name "ccls")))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement