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

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

问题描述

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

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.)

现在,在Notepad ++中,当我具有下面的脚本时,双击"foobar"以选中并突出显示它,在其他任何地方出现"foobar"时,它也会被突出显示:

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; }

有什么方法可以在Visual Studio 2010中获得此功能?我想,它在编程上更多是功能而不是风格,所以我怀疑VS是否可能.但这也许是吗?

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?

推荐答案

VS2010有一些扩展-突出显示所有出现的选定单词,以突出显示相同的单词.并且生产力强大的工具可以突出显示所有出现的内容,即使它们的含义不同. img src ="https://i.stack.imgur.com/VXPuE.png" alt ="foobar高亮">

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天全站免登陆