Repository navigation
Conversation
devversion
left a comment
There was a problem hiding this comment.
LGTM, very clean! — just some nits/questions
There was a problem hiding this comment.
Can you quickly refresh me on when a host binding can be an "external resource"?
There was a problem hiding this comment.
Right now it can't, because we don't produce the AST for bindings defined outside of the host object (e.g. through a spread operation). In theory it could be external if we started supporting type checking on dynamic host objects.
There was a problem hiding this comment.
Is there a way for us to better assert that one is properly mapped into the host bindings?
There was a problem hiding this comment.
Hmm, I guess we could check the actual start/end of the span, but I feel like that'll make the test a bit brittle because the position can move depending on the formatting.
Reworks the language service to enable features like quick info and definitions inside host bindings. **Note:** for the full range of language service features to work, the changes from angular/vscode-ng-language-service#2155 have to be released.
7fe9eba to
605f6f3
Compare
|
This PR was merged into the repository by commit 1dba2a8. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Reworks the language service to enable features like quick info and definitions inside host bindings.
Note: for the full range of language service features to work, the changes from angular/vscode-ng-language-service#2155 have to be released.