Skip to content

Instantly share code, notes, and snippets.

@praveendhawan
Last active March 7, 2020 04:46
Show Gist options
  • Save praveendhawan/06d69669aa3d3ea763de90ccba1fadf4 to your computer and use it in GitHub Desktop.
Save praveendhawan/06d69669aa3d3ea763de90ccba1fadf4 to your computer and use it in GitHub Desktop.
coc-solargraph logs
[Trace - 8:24:25 AM] Sending request 'initialize - (0)'.
Params: {
"processId": 55770,
"rootPath": "/Users/praveen/workspace/Office/spree-jiffyshirts",
"rootUri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "textOnlyTransactional"
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"symbol": {
"dynamicRegistration": true,
"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
]
}
},
"executeCommand": {
"dynamicRegistration": true
},
"configuration": true,
"workspaceFolders": true
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true,
"versionSupport": false
},
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"contextSupport": true,
"completionItem": {
"snippetSupport": true,
"commitCharactersSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"preselectSupport": true
},
"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
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"definition": {
"dynamicRegistration": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": true,
"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
]
},
"hierarchicalDocumentSymbolSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"codeLens": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"typeDefinition": {
"dynamicRegistration": true
},
"implementation": {
"dynamicRegistration": true
},
"declaration": {
"dynamicRegistration": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true
},
"selectionRange": {
"dynamicRegistration": true
}
},
"window": {
"workDoneProgress": true
}
},
"initializationOptions": {
"enablePages": true,
"viewsPath": "/Users/praveen/.config/coc/extensions/node_modules/coc-solargraph/views"
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts",
"name": "spree-jiffyshirts"
}
]
}
[Trace - 8:26:44 AM] Received response 'initialize - (0)' in 139763ms.
Result: {
"capabilities": {
"textDocumentSync": 2,
"workspace": {
"workspaceFolders": {
"supported": true,
"changeNotifications": true
}
}
}
}
[Trace - 8:26:44 AM] Sending notification 'initialized'.
Params: {}
[Trace - 8:26:44 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"solargraph": {
"trace": {
"server": "verbose"
},
"transport": "socket",
"promptDownload": true,
"externalServer": {
"host": "localhost",
"port": 7658
},
"commandPath": "solargraph",
"useBundler": false,
"bundlerPath": "bundle",
"checkGemVersion": true,
"completion": true,
"hover": true,
"diagnostics": true,
"autoformat": false,
"formatting": true,
"symbols": true,
"definitions": true,
"rename": true,
"references": true,
"folding": true,
"logLevel": "warn"
}
}
}
[Trace - 8:26:44 AM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"languageId": "ruby",
"version": 1,
"text": "class Ab\n def initialize\n puts 'Hey There'\n end\nend\n"
}
}
[Trace - 8:26:44 AM] Sending notification '$/solargraph/checkGemVersion'.
Params: {
"verbose": false
}
[Trace - 8:26:44 AM] Received request 'client/registerCapability - (0)'.
Params: {
"registrations": [
{
"id": "textDocument/completion",
"method": "textDocument/completion",
"registerOptions": {
"resolveProvider": true,
"triggerCharacters": [
".",
":",
"@"
]
}
},
{
"id": "textDocument/hover",
"method": "textDocument/hover",
"registerOptions": null
},
{
"id": "textDocument/signatureHelp",
"method": "textDocument/signatureHelp",
"registerOptions": {
"triggerCharacters": [
"(",
",",
" "
]
}
},
{
"id": "textDocument/formatting",
"method": "textDocument/formatting",
"registerOptions": {
"formattingProvider": true
}
},
{
"id": "textDocument/documentSymbol",
"method": "textDocument/documentSymbol",
"registerOptions": {
"documentSymbolProvider": true
}
},
{
"id": "textDocument/definition",
"method": "textDocument/definition",
"registerOptions": {
"definitionProvider": true
}
},
{
"id": "textDocument/references",
"method": "textDocument/references",
"registerOptions": {
"referencesProvider": true
}
},
{
"id": "textDocument/rename",
"method": "textDocument/rename",
"registerOptions": {
"renameProvider": true
}
},
{
"id": "textDocument/foldingRange",
"method": "textDocument/foldingRange",
"registerOptions": {
"foldingRangeProvider": true
}
},
{
"id": "workspace/symbol",
"method": "workspace/symbol",
"registerOptions": {
"workspaceSymbolProvider": true
}
}
]
}
[Trace - 8:26:44 AM] Sending response 'client/registerCapability - (0)'. Processing request took 2ms
No result returned.
[Trace - 8:26:49 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"diagnostics": []
}
[Trace - 8:27:03 AM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 2,
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb"
},
"contentChanges": [
{
"range": {
"start": {
"line": 2,
"character": 9
},
"end": {
"line": 2,
"character": 10
}
},
"rangeLength": 1,
"text": ""
}
]
}
[Trace - 8:27:03 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 18
},
"end": {
"line": 2,
"character": 19
}
},
"severity": 1,
"source": "Lint/Syntax",
"message": " unterminated string meets end of file\n(Using Ruby 2.6 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)"
}
]
}
[Trace - 8:27:03 AM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 3,
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb"
},
"contentChanges": [
{
"range": {
"start": {
"line": 2,
"character": 9
},
"end": {
"line": 2,
"character": 9
}
},
"rangeLength": 0,
"text": "\""
}
]
}
[Trace - 8:27:06 AM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 4,
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb"
},
"contentChanges": [
{
"range": {
"start": {
"line": 2,
"character": 19
},
"end": {
"line": 2,
"character": 20
}
},
"rangeLength": 1,
"text": ""
}
]
}
[Trace - 8:27:06 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 9
},
"end": {
"line": 2,
"character": 10
}
},
"severity": 1,
"source": "Lint/Syntax",
"message": " unterminated string meets end of file\n(Using Ruby 2.6 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)"
}
]
}
[Trace - 8:27:07 AM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 5,
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb"
},
"contentChanges": [
{
"range": {
"start": {
"line": 2,
"character": 19
},
"end": {
"line": 2,
"character": 19
}
},
"rangeLength": 0,
"text": "\""
}
]
}
[Trace - 8:27:09 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 9
},
"end": {
"line": 2,
"character": 20
}
},
"severity": 3,
"source": "Style/StringLiterals",
"message": " Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)"
}
]
}
[Trace - 8:27:09 AM] Sending notification 'textDocument/didSave'.
Params: {
"textDocument": {
"uri": "file:///Users/praveen/workspace/Office/spree-jiffyshirts/ab.rb",
"version": 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment