[英]How do you automatically highlight all objects with same name in Javascript, when you highlight only one in Visual Studio?
In C#, when I highlight a variable name, it is also highlighted everywhere else on the same page where that variable is used in Visual Studio. 在C#中,当我突出显示变量名时,在Visual Studio中使用该变量的同一页上的其他任何地方,该变量也都突出显示。
When I do the same in JavaScript, this does not happen. 当我在JavaScript中执行相同操作时,这不会发生。
How do make this happen in JavaScript? 如何在JavaScript中做到这一点?
Use Highlight All Occurrences of selected word extension. 使用突出显示所选单词扩展的所有出现 。 On double-clicking a word, all occurrences of that word will be highlighted.
双击一个单词时,该单词的所有出现都将突出显示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.