Visual Studio / Notepad ++:突出显示重复出现的选择文本? [英] Visual Studio/Notepad++: Highlight repeat occurences of selection text?

查看:898
本文介绍了Visual Studio / Notepad ++:突出显示重复出现的选择文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Notepad ++进行所有笔记记录,复制和粘贴,快速原型制作等等。这真是太棒了。 (只是希望它有一些云存储,不过这是另一个话题。)



现在,在Notepad ++中,当我有如下的脚本时,双击 foob​​ar来选择和突出显示它,在其他地方出现foobar,它也被突出显示:

  function foobar(){var _foobar =foobar;返回_foobar; } 

有没有什么办法可以在Visual Studio 2010中获得它?这是一个功能比文体功能,编程方式,我会想象,所以我怀疑它可能在VS.但它可能是,也许呢?

解决方案

有VS2010的扩展 - 突出显示选定单词的所有出现处以突出显示相同单词。并且生产力工具可突出显示所有出现的事件,即使它们有不同的词。< img src =https://i.stack.imgur.com/VXPuE.pngalt =foobar突出显示>


I use Notepad++ for all my note-taking, copying and pasting, rapid prototyping, etc. It's freaking awesome. (Just wish it had some cloud storage instead! That's another topic though.)

Now, in Notepad++, when I have a script like that below, and double-click "foobar" to select and highlight it, everywhere else "foobar" appears, it's also highlighted:

function foobar() { var _foobar = "foobar"; return _foobar; }

Is there any way to get this in Visual Studio 2010? It's more a functional than stylistic feature, programmatically, I would imagine, so I doubt it's possible in VS. But it may be, perhaps?

解决方案

There are extensions for VS2010 - Highlight all occurrences of selected word to highlight the same words. And Productivity power tools to highlight all occurrences even if they are in the different words.

这篇关于Visual Studio / Notepad ++:突出显示重复出现的选择文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆