Adds support for `styleUrls` definitions in the same way `templateUrl` definitions are provided; clicking on styleUrl will take a user to the respective file. Unifies some code in determining a URL definition. We first check if a url is a `templateUrl`; if it's not, we check that it's a `styleUrl` or return no definitions. PR Close #32464
33 lines
520 B
JSON
33 lines
520 B
JSON
{
|
|
"seq": 0,
|
|
"type": "response",
|
|
"command": "definitionAndBoundSpan",
|
|
"request_seq": 3,
|
|
"success": true,
|
|
"body": {
|
|
"definitions": [
|
|
{
|
|
"file": "${PWD}/project/app/style.css",
|
|
"start": {
|
|
"line": 1,
|
|
"offset": 1
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"offset": 1
|
|
}
|
|
}
|
|
],
|
|
"textSpan": {
|
|
"start": {
|
|
"line": 6,
|
|
"offset": 16
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"offset": 27
|
|
}
|
|
}
|
|
}
|
|
}
|