简体   繁体   English

如何为 VS Code 和 Angular 启用 Intellisense

[英]How to enable Intellisense for VS Code & Angular

I wish to be able to right-click on the tag and dill into the implementation or from inside the component implementation right-click > find all references > and drill back to this tag.我希望能够右键单击标签并深入实现或从组件实现内部右键单击 > 查找所有引用 > 并回溯到该标签。 Is there a VS Code extension or Setting that can help?是否有可以提供帮助的 VS Code 扩展或设置?

This picture shows the error when trying "Go to Implementations".这张图片显示了尝试“转到实施”时的错误。

在此处输入图像描述

I believe that it is Angular Follow Selector extension that you are looking for我相信您正在寻找的是 Angular Follow Selector extension

https://marketplace.visualstudio.com/items?itemName=sanderledegen.angular-follow-selector https://marketplace.visualstudio.com/items?itemName=sanderledegen.angular-follow-selector

You can install the Angular Language Service extension for VS Code by Angular.您可以通过 Angular 为 VS Code 安装 Angular 语言服务扩展。 Check it here: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template在这里查看: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM