Visual Studio/Notepad++: Highlight repeat occurences of selection text?

匿名 (未验证) 提交于 2019-12-03 08:48:34

问题:

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?

回答1:

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.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!