microsoft / vs-ng-language-service

Visual Studio extension for the Angular Language Service
MIT License
43 stars 15 forks source link

Completions in projection buffers are not delegated to our language server #20

Closed PranavSenthilnathan closed 1 year ago

PranavSenthilnathan commented 3 years ago

Completions inside projection buffers refers to the scenario of completion at the caret below:

<p aria-live="polite">Current count: <strong>{{ currentCo| }}</strong></p>
                                                         ^

This used to work previously but now it looks like the projection buffer is no longer treated as an angularTemplate content type so the editor/LSP doesn't invoke our completions.

The fix would have to somehow modify our content type or generally get editor/LSP to recognize our completion provider as suitable for the content type.

MariaSolOs commented 1 year ago

This is now fixed in VS 2022.