[Trace - 9:10:50 AM] Sending request 'initialize - (0)'.
Params: {
"processId": 23245,
"rootPath": "/home/${user}/Work/${path}",
"rootUri": "file:///home/${user}/Work/${path}",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "undo",
"normalizesLineEndings": true,
"changeAnnotationSupport": {
"groupsOnLabel": false
}
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true,
"relativePatternSupport": true
},
"codeLens": {
"refreshSupport": true
},
"executeCommand": {
"dynamicRegistration": true
},
"configuration": true,
"fileOperations": {
"dynamicRegistration": true,
"didCreate": true,
"didRename": true,
"didDelete": true,
"willCreate": true,
"willRename": true,
"willDelete": true
},
"semanticTokens": {
"refreshSupport": true
},
"inlayHint": {
"refreshSupport": true
},
"inlineValue": {
"refreshSupport": true
},
"diagnostics": {
"refreshSupport": 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
]
},
"tagSupport": {
"valueSet": [
1
]
},
"resolveSupport": {
"properties": [
"location.range"
]
}
},
"workspaceFolders": true
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true,
"versionSupport": true,
"tagSupport": {
"valueSet": [
1,
2
]
},
"codeDescriptionSupport": true,
"dataSupport": true
},
"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,
"insertReplaceSupport": true,
"tagSupport": {
"valueSet": [
1
]
},
"resolveSupport": {
"properties": [
"documentation",
"detail",
"additionalTextEdits"
]
},
"labelDetailsSupport": true,
"insertTextModeSupport": {
"valueSet": [
1,
2
]
}
},
"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
]
},
"insertTextMode": 2,
"completionList": {
"itemDefaults": [
"commitCharacters",
"editRange",
"insertTextFormat",
"insertTextMode"
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"contextSupport": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"activeParameterSupport": true,
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"references": {
"dynamicRegistration": true
},
"definition": {
"dynamicRegistration": true,
"linkSupport": 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,
"tagSupport": {
"valueSet": [
1
]
},
"labelSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"disabledSupport": true,
"dataSupport": true,
"honorsChangeAnnotations": false,
"resolveSupport": {
"properties": [
"edit"
]
},
"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,
"honorsChangeAnnotations": true,
"prepareSupportDefaultBehavior": 1
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"typeDefinition": {
"dynamicRegistration": true,
"linkSupport": true
},
"implementation": {
"dynamicRegistration": true,
"linkSupport": true
},
"declaration": {
"dynamicRegistration": true,
"linkSupport": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true,
"foldingRangeKind": {
"valueSet": [
"comment",
"imports",
"region"
]
},
"foldingRange": {
"collapsedText": false
}
},
"selectionRange": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": true
},
"linkedEditingRange": {
"dynamicRegistration": true
},
"semanticTokens": {
"dynamicRegistration": true,
"tokenTypes": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"decorator",
"operator"
],
"tokenModifiers": [
"declaration",
"definition",
"readonly",
"static",
"deprecated",
"abstract",
"async",
"modification",
"documentation",
"defaultLibrary"
],
"formats": [
"relative"
],
"requests": {
"range": true,
"full": {
"delta": true
}
},
"multilineTokenSupport": false,
"overlappingTokenSupport": false,
"serverCancelSupport": true,
"augmentsSyntaxTokens": true
},
"inlayHint": {
"dynamicRegistration": true,
"resolveSupport": {
"properties": [
"tooltip",
"textEdits",
"label.tooltip",
"label.location",
"label.command"
]
}
},
"inlineValue": {
"dynamicRegistration": true
},
"diagnostic": {
"dynamicRegistration": true,
"relatedDocumentSupport": true
},
"typeHierarchy": {
"dynamicRegistration": true
}
},
"window": {
"showMessage": {
"messageActionItem": {
"additionalPropertiesSupport": true
}
},
"showDocument": {
"support": true
},
"workDoneProgress": true
},
"general": {
"regularExpressions": {
"engine": "ECMAScript",
"version": "ES2020"
},
"markdown": {
"parser": "marked",
"version": "4.0.10"
},
"positionEncodings": [
"utf-16"
],
"staleRequestSupport": {
"cancel": true,
"retryOnContentModified": [
"textDocument/inlayHint",
"textDocument/semanticTokens/full",
"textDocument/semanticTokens/range",
"textDocument/semanticTokens/full/delta"
]
}
}
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///home/${user}/Work/${path}",
"name": "${path}"
}
],
"locale": "C",
"clientInfo": {
"name": "coc.nvim",
"version": "0.0.82"
}
}
[Trace - 9:10:51 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Angular language server process ID: 23276"
}
[Info - 9:10:51 AM] Angular language server process ID: 23276
[Trace - 9:10:52 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Using typescript/lib/tsserverlibrary v4.6.4 from /home/${user}/.local/share/nvim/coc/extensions/node_modules/coc-angular/node_modules/typescript/lib/tsserverlibrary.js"
}
[Info - 9:10:52 AM] Using typescript/lib/tsserverlibrary v4.6.4 from /home/${user}/.local/share/nvim/coc/extensions/node_modules/coc-angular/node_modules/typescript/lib/tsserverlibrary.js
[Trace - 9:10:53 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Using @angular/language-service v13.3.8 from /home/${user}/.local/share/nvim/coc/extensions/node_modules/coc-angular/node_modules/@angular/language-service/index.js"
}
[Info - 9:10:53 AM] Using @angular/language-service v13.3.8 from /home/${user}/.local/share/nvim/coc/extensions/node_modules/coc-angular/node_modules/@angular/language-service/index.js
[Trace - 9:10:54 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Log file: /home/${user}/.local/share/nvim/coc/extensions/coc-angular-data/nglangsvc.log"
}
[Info - 9:10:54 AM] Log file: /home/${user}/.local/share/nvim/coc/extensions/coc-angular-data/nglangsvc.log
[Trace - 9:10:59 AM] Received response 'initialize - (0)' in 8530ms.
Result: {
"capabilities": {
"codeLensProvider": {
"resolveProvider": true
},
"textDocumentSync": 2,
"completionProvider": {
"resolveProvider": true,
"triggerCharacters": [
"<",
".",
"*",
"[",
"(",
"$",
"|"
]
},
"definitionProvider": true,
"typeDefinitionProvider": true,
"referencesProvider": true,
"renameProvider": {
"prepareProvider": true
},
"hoverProvider": true,
"signatureHelpProvider": {
"triggerCharacters": [
"(",
","
],
"retriggerCharacters": [
","
]
},
"workspace": {
"workspaceFolders": {
"supported": true
}
}
},
"serverOptions": {
"logFile": "/home/${user}/.local/share/nvim/coc/extensions/coc-angular-data/nglangsvc.log"
}
}
[Trace - 9:10:59 AM] Sending notification 'initialized'.
Params: {}
[Trace - 9:10:59 AM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///home/${user}/Work/${path}.html",
"languageId": "html",
"version": 1,
"text": "${filecontent}"
}
}
[Trace - 9:11:00 AM] Received notification 'angular/projectLoadingStart'.
Params: [
null
]
[Trace - 9:11:02 AM] Received notification 'angular/projectLoadingFinish'.
Params: [
null
]
[Trace - 9:11:07 AM] Sending request 'angular/isAngularCoreInOwningProject - (1)'.
Params: {
"textDocument": {
"uri": "file:///home/${user}/Work/${path}.html"
}
}
[Trace - 9:11:07 AM] Received notification 'window/logMessage'.
Params: {
"type": 1,
"message": "No config file for /home/${user}/Work/${path}.html"
}
[Error - 9:11:07 AM] No config file for /home/${user}/Work/${path}.html
[Trace - 9:11:07 AM] Received response 'angular/isAngularCoreInOwningProject - (1)' in 4ms.
No result returned.
[Trace - 9:11:13 AM] Sending request 'angular/getComponentsWithTemplateFile - (2)'.
Params: {
"textDocument": {
"uri": "file:///home/${user}/Work/${path}.html"
}
}
[Trace - 9:11:13 AM] Received notification 'window/logMessage'.
Params: {
"type": 1,
"message": "No config file for /home/${user}/Work/${path}.html"
}
[Error - 9:11:13 AM] No config file for /home/${user}/Work/${path}.html
[Trace - 9:11:13 AM] Received response 'angular/getComponentsWithTemplateFile - (2)' in 4ms.
No result returned.
[Trace - 9:11:18 AM] Sending request 'angular/getTemplateLocationForComponent - (3)'.
Params: {
"textDocument": {
"uri": "file:///home/${user}/Work/${path}.html"
},
"position": {
"line": 268,
"character": 6
}
}
[Trace - 9:11:18 AM] Received notification 'window/logMessage'.
Params: {
"type": 1,
"message": "No config file for /home/${user}/Work/${path}.html"
}
[Error - 9:11:18 AM] No config file for /home/${user}/Work/${path}.html
[Trace - 9:11:18 AM] Received response 'angular/getTemplateLocationForComponent - (3)' in 2ms.
No result returned.
Describe the bug
Go to definition in template files does not seem to work
To Reproduce
Expected behavior
Go to definition and autocompletion should work
Video
gd, which is a map for<Plug>(coc-definition), but coc tells me that it can't find the definition<c-space> coc#refresh()a few times with<c-space>to make it show up in case its just slow:CocList extensions2022-10-20_09-20-56.mp4
Desktop
Linux dell 5.15.74-1-lts #1 SMP Sat, 15 Oct 2022 06:43:47 +0000 x86_64 GNU/LinuxNVIM v0.8.0Notes
Log
I removed some paths and usernames, sorry for that. (${user}, ${path})
CocInfo
CocCommand angular.openLogFile
CocCommand workspace.showOutput