fix(language-service): fix calculation of pipe spans (#35986)
This commit accomplishes two tasks: - Fixes the span of queried pipes to only be applied on pipe names - By consequence, fixes how pipes are located in arguments (previously, pipes with arguments could not be found because the span of a pipe uses a relative span, while the template position is absolute) The screenshots attached to the PR for this commit demonstrate the change. Closes https://github.com/angular/vscode-ng-language-service/issues/677 PR Close #35986
This commit is contained in:

committed by
Matias Niemelä

parent
a73e125c04
commit
406419bc0f
@ -171,6 +171,7 @@ export class TemplateReference {
|
||||
anyValue: any;
|
||||
optional?: string;
|
||||
myClick(event: any) {}
|
||||
birthday = new Date();
|
||||
}
|
||||
|
||||
@Component({
|
||||
|
Reference in New Issue
Block a user