feat(language-service): Implement go to definition for style and template urls (#39202)

This commit enables the Ivy Language Service to 'go to definition' of a
templateUrl or styleUrl, which would jump to the template/style file
itself.

PR Close #39202
This commit is contained in:
Andrew Scott
2020-10-09 11:22:03 -07:00
committed by Andrew Kushnir
parent 087596bbde
commit 563fb6cdbe
14 changed files with 166 additions and 57 deletions

View File

@ -9,7 +9,8 @@
import * as ng from '@angular/compiler';
import * as ts from 'typescript';
import {getClassDeclFromDecoratorProp, getDirectiveClassLike} from '../src/ts_utils';
import {getClassDeclFromDecoratorProp} from '../common/ts_utils';
import {getDirectiveClassLike} from '../src/ts_utils';
import {getPathToNodeAtPosition} from '../src/utils';
import {MockTypescriptHost} from './test_utils';