[英]VS Code Angular template variables definition auto rename and navigation
[英]VS Code: How to refactor(rename variable) in an Angular template file?
我想重命名一個在角度模板文件(即xxx.component.html文件)中使用的變量。 這可以通過 WebStorm 中的Shift + F6快捷鍵來完成。 如何在 vscode 中做到這一點? F2 沒用。
您需要使用Ctrl + F2組合選擇單詞然后鍵入新單詞,它將全選並替換為新單詞
Ctrl + F2
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.