You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: avoid showing MISSING: command for code lens in templates (#1370)
When we do not provide a command in the code lens resolve request,
VSCode will show `!!MISSING: command!!`. Instead, we throw an error and
VSCode will simply show "no commands". It is documented that the
resolution of a code lens can throw an error here:
https://microsoft.github.io/language-server-protocol/specification#codeLens_resolve
In addition, this change ensures that the html file is part of an
angular project before returning a code lens in the first place.
Fixes#1368
(cherry picked from commit cd35a52)
0 commit comments