[Trace - 2:22:38 PM] Sending request 'textDocument/codeAction - (2194)'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 10,
"character": 0
}
},
"context": {
"diagnostics": [],
"only": [
"source.fixAll.eslint"
],
"triggerKind": 2
}
}
[Trace - 2:22:38 PM] Received response 'textDocument/codeAction - (2194)' in 1ms.
No result returned.
[Trace - 2:22:38 PM] Sending request 'textDocument/formatting - (2195)'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
},
"options": {
"tabSize": 2,
"insertSpaces": true,
"trimTrailingWhitespace": true
}
}
[Trace - 2:22:38 PM] Received response 'textDocument/formatting - (2195)' in 31ms.
Result: [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 10,
"character": 0
}
},
"newText": "import { person } from \"./types\";\n$ const thisPerson = person;\n\n<if(\n thisPerson.address &&\n thisPerson.phone &&\n thisPerson.age &&\n thisPerson.nationality,\n)>\n <person-card\n address=thisPerson.address\n phone=thisPerson.phone\n age=thisPerson.age\n />\n</if>\n"
}
]
[Trace - 2:22:38 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko",
"version": 574
},
"contentChanges": [
{
"range": {
"start": {
"line": 3,
"character": 86
},
"end": {
"line": 3,
"character": 86
}
},
"rangeLength": 0,
"text": ",\n"
},
{
"range": {
"start": {
"line": 3,
"character": 63
},
"end": {
"line": 3,
"character": 63
}
},
"rangeLength": 0,
"text": "\n "
},
{
"range": {
"start": {
"line": 3,
"character": 45
},
"end": {
"line": 3,
"character": 45
}
},
"rangeLength": 0,
"text": "\n "
},
{
"range": {
"start": {
"line": 3,
"character": 26
},
"end": {
"line": 3,
"character": 26
}
},
"rangeLength": 0,
"text": " "
},
{
"range": {
"start": {
"line": 3,
"character": 25
},
"end": {
"line": 3,
"character": 25
}
},
"rangeLength": 0,
"text": "\n"
},
{
"range": {
"start": {
"line": 3,
"character": 4
},
"end": {
"line": 3,
"character": 4
}
},
"rangeLength": 0,
"text": "\n "
}
]
}
[Trace - 2:22:38 PM] Sending notification 'textDocument/didSave'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
}
}
[Trace - 2:22:38 PM] Sending request 'textDocument/documentSymbol - (2196)'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
}
}
[Trace - 2:22:38 PM] Received response 'textDocument/documentSymbol - (2196)' in 1ms.
Result: [
{
"name": "if",
"kind": 5,
"location": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko",
"range": {
"start": {
"line": 3,
"character": 0
},
"end": {
"line": 14,
"character": 5
}
}
}
},
{
"name": "person-card",
"kind": 5,
"location": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko",
"range": {
"start": {
"line": 9,
"character": 2
},
"end": {
"line": 13,
"character": 4
}
}
}
}
]
[Trace - 2:22:39 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {
"changes": [
{
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko",
"type": 2
}
]
}
[Trace - 2:22:39 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko",
"diagnostics": [
{
"range": {
"start": {
"line": 10,
"character": 4
},
"end": {
"line": 10,
"character": 11
}
},
"source": "script",
"code": 2322,
"severity": 1,
"message": "Type 'string | undefined' is not assignable to type 'string'.\n Type 'undefined' is not assignable to type 'string'."
},
{
"range": {
"start": {
"line": 11,
"character": 4
},
"end": {
"line": 11,
"character": 9
}
},
"source": "script",
"code": 2322,
"severity": 1,
"message": "Type 'string | undefined' is not assignable to type 'string'.\n Type 'undefined' is not assignable to type 'string'."
},
{
"range": {
"start": {
"line": 12,
"character": 4
},
"end": {
"line": 12,
"character": 7
}
},
"source": "script",
"code": 2322,
"severity": 1,
"message": "Type 'number | undefined' is not assignable to type 'number'.\n Type 'undefined' is not assignable to type 'number'."
}
]
}
[Trace - 2:22:39 PM] Sending request 'textDocument/documentLink - (2197)'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
}
}
[Trace - 2:22:39 PM] Sending request 'textDocument/documentColor - (2198)'.
Params: {
"textDocument": {
"uri": "file:///home/user/code/marko-replicate-problem/src/routes/_index/%2Bpage.marko"
}
}
[Trace - 2:22:39 PM] Received response 'textDocument/documentLink - (2197)' in 307ms.
Result: []
[Trace - 2:22:39 PM] Received response 'textDocument/documentColor - (2198)' in 308ms.
No result returned.