Skip to content

Instantly share code, notes, and snippets.

@tokoro10g
Created January 8, 2020 09:11
Show Gist options
  • Save tokoro10g/a8cddc559e6d9d585ebd5ae13a122d11 to your computer and use it in GitHub Desktop.
Save tokoro10g/a8cddc559e6d9d585ebd5ae13a122d11 to your computer and use it in GitHub Desktop.
[Trace - 06:10:12 PM] Sending request 'initialize - (1)'.
Params: {
"processId": 78866,
"rootPath": "/opt/test",
"clientInfo": {
"name": "vscode",
"version": "1.41.1"
},
"rootUri": "file:///opt/test",
"capabilities": {
"workspace": {
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
]
},
"applyEdit": 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
]
}
},
"executeCommand": {
"dynamicRegistration": false
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"configuration": true
},
"textDocument": {
"declaration": {
"linkSupport": true
},
"definition": {
"linkSupport": true
},
"implementation": {
"linkSupport": true
},
"typeDefinition": {
"linkSupport": true
},
"synchronization": {
"willSave": true,
"didSave": true,
"willSaveWaitUntil": true
},
"documentSymbol": {
"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
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"semanticHighlightingCapabilities": {
"semanticHighlighting": false
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"completion": {
"completionItem": {
"snippetSupport": false,
"documentationFormat": [
"markdown"
]
},
"contextSupport": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
]
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": null,
"lineFoldingOnly": false
},
"callHierarchy": {
"dynamicRegistration": false
}
},
"window": {
"workDoneProgress": true
}
},
"initializationOptions": null,
"workDoneToken": "1"
}
[Trace - 06:10:13 PM] Received response 'initialize - (1)' in 481ms.
Result: {
"capabilities": {
"workspace": {
"workspaceFolders": {
"changeNotifications": true,
"supported": true
}
},
"executeCommandProvider": {
"commands": [
"engine.run",
"engine.runLine"
]
},
"codeActionProvider": true,
"definitionProvider": true,
"signatureHelpProvider": {
"triggerCharacters": [
"("
]
},
"completionProvider": {
"resolveProvider": true
},
"textDocumentSync": 1
}
}
[Trace - 06:10:13 PM] Sending notification 'initialized'.
Params: {
}
[Trace - 06:10:13 PM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"languageId": true,
"version": 0,
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n"
}
}
[Trace - 06:10:13 PM] Received notification 'window/logMessage'.
Params: {
"message": "MATLAB Language Server Initialized",
"type": 3
}
[Trace - 06:10:31 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 2
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n"
}
]
}
[Trace - 06:10:33 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 4
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n \n"
}
]
}
[Trace - 06:10:33 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 5
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n k\n"
}
]
}
[Trace - 06:10:33 PM] Sending request 'textDocument/completion - (2)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 4
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:33 PM] Received response 'textDocument/completion - (2)' in 94ms.
Result: [
{
"data": 1,
"insertText": "kagi",
"kind": 3,
"label": "kagi"
},
{
"data": 2,
"insertText": "kaiser",
"kind": 3,
"label": "kaiser"
},
{
"data": 3,
"insertText": "kaiserord",
"kind": 3,
"label": "kaiserord"
},
{
"data": 4,
"insertText": "kalmdemo_figs",
"kind": 3,
"label": "kalmdemo_figs"
},
{
"data": 5,
"insertText": "kasami_sequence_block_example",
"kind": 17,
"label": "kasami_sequence_block_example"
},
{
"data": 6,
"insertText": "kavrsky5",
"kind": 3,
"label": "kavrsky5"
},
{
"data": 7,
"insertText": "kavrsky6",
"kind": 3,
"label": "kavrsky6"
},
{
"data": 8,
"insertText": "key2info",
"kind": 3,
"label": "key2info"
},
{
"data": 9,
"insertText": "keyboard",
"kind": 3,
"label": "keyboard"
},
{
"data": 10,
"insertText": "klein1",
"kind": 3,
"label": "klein1"
},
{
"data": 11,
"insertText": "km2deg",
"kind": 3,
"label": "km2deg"
},
{
"data": 12,
"insertText": "km2nm",
"kind": 3,
"label": "km2nm"
},
{
"data": 13,
"insertText": "km2rad",
"kind": 3,
"label": "km2rad"
},
{
"data": 14,
"insertText": "km2sm",
"kind": 3,
"label": "km2sm"
},
{
"data": 15,
"insertText": "kmeans",
"kind": 3,
"label": "kmeans"
},
{
"data": 16,
"insertText": "kmedoids",
"kind": 3,
"label": "kmedoids"
},
{
"data": 17,
"insertText": "kmlwrite",
"kind": 3,
"label": "kmlwrite"
},
{
"data": 18,
"insertText": "kmlwriteline",
"kind": 3,
"label": "kmlwriteline"
},
{
"data": 19,
"insertText": "kmlwritepoint",
"kind": 3,
"label": "kmlwritepoint"
},
{
"data": 20,
"insertText": "kmlwritepolygon",
"kind": 3,
"label": "kmlwritepolygon"
},
{
"data": 21,
"insertText": "kneeode",
"kind": 3,
"label": "kneeode"
},
{
"data": 22,
"insertText": "knnclassify",
"kind": 3,
"label": "knnclassify"
},
{
"data": 23,
"insertText": "knnimpute",
"kind": 3,
"label": "knnimpute"
},
{
"data": 24,
"insertText": "knnsearch",
"kind": 3,
"label": "knnsearch"
},
{
"data": 25,
"insertText": "knot",
"kind": 3,
"label": "knot"
},
{
"data": 26,
"insertText": "knt2brk",
"kind": 3,
"label": "knt2brk"
},
{
"data": 27,
"insertText": "knt2mlt",
"kind": 3,
"label": "knt2mlt"
},
{
"data": 28,
"insertText": "kpsstest",
"kind": 3,
"label": "kpsstest"
},
{
"data": 29,
"insertText": "kratio",
"kind": 3,
"label": "kratio"
},
{
"data": 30,
"insertText": "kron",
"kind": 3,
"label": "kron"
},
{
"data": 31,
"insertText": "kruskalwallis",
"kind": 3,
"label": "kruskalwallis"
},
{
"data": 32,
"insertText": "ksdensity",
"kind": 3,
"label": "ksdensity"
},
{
"data": 33,
"insertText": "kstest",
"kind": 3,
"label": "kstest"
},
{
"data": 34,
"insertText": "kstest2",
"kind": 3,
"label": "kstest2"
},
{
"data": 35,
"insertText": "ksum",
"kind": 3,
"label": "ksum"
},
{
"data": 36,
"insertText": "kurtogram",
"kind": 3,
"label": "kurtogram"
},
{
"data": 37,
"insertText": "kurtosis",
"kind": 3,
"label": "kurtosis"
},
{
"data": 38,
"insertText": "KAZEPoints",
"kind": 3,
"label": "KAZEPoints"
},
{
"data": 39,
"insertText": "KDTreeSearcher",
"kind": 3,
"label": "KDTreeSearcher"
}
]
[Trace - 06:10:34 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 6
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n kr\n"
}
]
}
[Trace - 06:10:34 PM] Sending request 'textDocument/completion - (3)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 5
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:34 PM] Received response 'textDocument/completion - (3)' in 53ms.
Result: [
{
"data": 1,
"insertText": "kratio",
"kind": 3,
"label": "kratio"
},
{
"data": 2,
"insertText": "kron",
"kind": 3,
"label": "kron"
},
{
"data": 3,
"insertText": "kruskalwallis",
"kind": 3,
"label": "kruskalwallis"
}
]
[Trace - 06:10:34 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 7
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n kro\n"
}
]
}
[Trace - 06:10:34 PM] Sending request 'textDocument/completion - (4)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 6
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:34 PM] Received response 'textDocument/completion - (4)' in 24ms.
Result: [
{
"data": 1,
"insertText": "kron",
"kind": 3,
"label": "kron"
}
]
[Trace - 06:10:36 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 8
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n kron\n"
}
]
}
[Trace - 06:10:36 PM] Sending request 'textDocument/completion - (5)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 7
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:36 PM] Received response 'textDocument/completion - (5)' in 29ms.
Result: [
{
"data": 1,
"insertText": "kron",
"kind": 3,
"label": "kron"
}
]
[Trace - 06:10:38 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m",
"version": 9
},
"contentChanges": [
{
"text": "function yout = ode4(F,t0,h,tfinal,y0)\n% ODE4 Classical Runge-Kutta ODE solver.\n% yout = ODE4(F,t0,h,tfinal,y0) uses the classical\n% Runge-Kutta method with fixed step size h on the interval\n% t0 <= t <= tfinal\n% to solve\n% dy/dt = F(t,y)\n% with y(t0) = y0.\n\n% Copyright 2014 - 2015 The MathWorks, Inc.\n\n y = y0;\n yout = y;\n for t = t0 : h : tfinal-h\n s1 = F(t,y);\n s2 = F(t+h/2, y+h*s1/2);\n s3 = F(t+h/2, y+h*s2/2);\n s4 = F(t+h, y+h*s3);\n y = y + h*(s1 + 2*s2 + 2*s3 + s4)/6;\n yout = [yout; y];\n end\n \n kron(\n"
}
]
}
[Trace - 06:10:38 PM] Sending request 'textDocument/completion - (6)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 8
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:38 PM] Received response 'textDocument/completion - (6)' in 74ms.
Result: null
[Trace - 06:10:38 PM] Sending request 'textDocument/completion - (7)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 8
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:38 PM] Received response 'textDocument/completion - (7)' in 16ms.
Result: null
[Trace - 06:10:38 PM] Sending request 'textDocument/completion - (8)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 8
},
"context": {
"triggerKind": 1
}
}
[Trace - 06:10:38 PM] Received response 'textDocument/completion - (8)' in 16ms.
Result: null
[Trace - 06:10:38 PM] Sending request 'textDocument/signatureHelp - (9)'.
Params: {
"textDocument": {
"uri": "file:///opt/test/ode4.m"
},
"position": {
"line": 22,
"character": 8
}
}
[Trace - 06:10:40 PM] Received response 'textDocument/signatureHelp - (9)' in 684ms.
Result: {
"activeParameter": 0,
"activeSignature": 0,
"signatures": [
{
"parameters": [
{
"label": "A"
},
{
"label": "B"
}
],
"label": "kron(A,B)"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment