https://visualstudiogallery.msdn.microsoft.com/ad686131-47d4-4c13-ada2-5b1a9019fb6f

About

This is a small add-in for Visual Studio 2008. It searches and highlights substrings that are currently selected in a text editor. As a bonus, it works for Output, Command and Immediate windows too.

Project home: https://github.com/mnasyrov/wordlight

Usage

It is pretty simply: when you selects a text, the add-in highlights all occurrences in a current document.

There is a new "Freeze search" feature: you can freeze up to three search results in special mark groups, that stay during text editing. Freezing is called by next hotkeys (by default): Ctrl+`, Ctrl+1 and Ctrl+2 for three groups. For example: you select a text, and all its occurences are marked by pink color automatically. Then you press Ctrl+`, and these marks moved to the blue group. To clear a freezing group just press a hotkey when nothing is selected.

Installation

  1. Unpack files to an folder for add-ins of your visual studio.
  2. Restart the studio.

Usually, the folder is placed in "C:\Users\%UserName%\Documents\Visual Studio 2008" (for Win7) or "C:\Documents and Settings\%UserName%\My Documents\Visual Studio 2008\Addins" (for WinXP). It can be checked by "Add-in file paths" settings of the studio (menu Tools > Options > Environment > Add-in/Macros Security).

Please note, the add-in requires installed .NET Framework 3.5 to run.

Settings

You can change settings of the add-in by a command "WordLight settings..." under the "Tools" menu.

  • Colors of marks for occurences;
  • Hotkeys to freeze a search;
  • Enable/disable case sensitive searching.
  • Matching only whole words by search.

Tips and tricks

Visual Studio 2008 has various shortcut keys for text search, which look nice with WordLight:

  • Ctrl+Shift+W - selects a word at a text cursor, I recommend to remap it to Ctrl+W;
  • Ctrl+F - opens a Find dialog and puts a word at a text cursor into a search field;
  • F3 / Shift+F3 - go to a next/previous occurrence of a search text;
  • Ctrl+D - puts a word at a text cursor into a Find combo-box at a toolbar;
  • Ctrl+F3 / Ctrl+Shift+F3 - puts a word at a text cursor into the Find combo-box and go to a next/previous its occurrence;
  • Ctrl+I - Incremental search: waits for your input and searches as you type a text.

WordLight: highlights all occurrences of a selected text for VS2008的更多相关文章

  1. jQuery get selected text from SELECT (or DROPDOWN) list box

    Most of the time in JavaScript we want to do following things with Select (or dropdown) list box. – ...

  2. js get selected text

    js get selected text https://stackoverflow.com/questions/3170648/how-to-get-javascript-select-boxs-s ...

  3. Copy Selected Text from any window

    https://social.msdn.microsoft.com/Forums/windows/en-US/1dc356e6-9441-44de-9eda-247003fa6ef5/copy-sel ...

  4. get the text value of a selected option.

    <select id="myselect"> <option value="1">Mr</option> <optio ...

  5. Sublime Text 2配置文件详解

    Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自己 ...

  6. SUBLIME TEXT 2 设置文件详解

    SUBLIME TEXT 2 设置文件详解 Preferences.sublime-settings文件: // While you can edit this file, it’s best to ...

  7. [转]Sublime Text 2 设置文件详解

    Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自己 ...

  8. Sublime Text 设置文件详解

     Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自 ...

  9. Subline Text默认设置文件Preferences.sublime-settings—Default详解

    Subline Text中,点击Preferences,选择Settings - Default 全部属性解析 // While you can edit this file, it's best t ...

随机推荐

  1. 2013 ACM区域赛长沙 I LIKE vs CANDLE(ZOJ3734) 很好的一道树形DP

    题意:一棵有根树,每个节点都有一个value值和属性(zan或是 CANDLE).你可以通过反转一些点的属性,反转一个点时候,它的整个子树都会被反转属性.有些点反转消耗代价为X,有些为Y.你的目标的是 ...

  2. (转载)Excel文档保存的时候,提示“文档未保存”

    亲测,成功搞定 Excel文档保存的时候,提示“文档未保存”? 先打开你需要处理的excel,然后打开工具栏--宏--录制新宏--确定--停止录制宏--宏-宏--编辑--复制以下程序Sub 恢复保存( ...

  3. HW5.25

    public class Solution { public static void main(String[] args) { System.out.println(convertMillis(55 ...

  4. HW3.7

    import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner i ...

  5. A list of base boxes for Vagrant - Vagrantbox.es

    Create image server with nginx + lua (Openresty) + graphicsmagick (Part I) | Ian's PhotograPhy Blog ...

  6. php静态方法与非静态方法在性能上有什么区别?

    先贴代码如下: class class1 { public static function test(){} } class class2 { public function test(){} } v ...

  7. Robot Framework自动化测试(二)第一个用例

    RIDE启动界面: 首先创建一个Test project File-New Project ,选择Directory类型 在创建的文件夹上右键,创建一个Test Suite Openbaidu, NE ...

  8. [转帖] 安装Eclipse插件长时间卡在 calculating requirements and dependencies

    把"Contact all update sites during install to find required software"前面的勾去掉,然后点击下一步,这样之后问题迎 ...

  9. 每天进步一点达——MySQL——myisampack

    一.        简单介绍 myisampack是一个压缩使用MyISAM引擎表的工具,通常会压缩40%~70%,当须要訪问数据.server会将所须要的信息读入到内存中.所以当訪问详细记录时,性能 ...

  10. LIVE555研究之三:LIVE555基础

    LIVE555基础 LIVE555是为流媒体提供解决方式的跨平台C++开源项目.从今天起我们将正式開始深入LIVE555代码. 一.各库简要介绍 LIVE555下包括LiveMedia.UsageEn ...