WordLight: highlights all occurrences of a selected text for VS2008

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.
时间: 2024-08-30 15:46:50

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

get the text value of a selected option.

1 <select id="myselect"> 2 <option value="1">Mr</option> 3 <option value="2">Mrs</option> 4 <option value="3">Ms</option> 5 <option value="4">Dr</option&g

Sublime Text 2 配置手册

Preferences.sublime-settings文件: // While you can edit this file, it’s best to put your changes in // “User/Preferences.sublime-settings”, which overrides the settings in here. // // Settings may also be placed in file type specific options files, for

使用Sublime Text进行ERLANG开发

1.为什么使用Sublime Text 漂亮的用户界面 强大的功能,支持大多数语言 程序简洁,内存占用小 神器,支持Windows,Mac,Linux 简单的配置,齐全的插件 支持多个项目 不需要主动保存,每次打开都会恢复到上次编辑的状态 2.Sublime Text安装和插件 官方网址:http://www.sublimetext.com 推荐使用版本:2.0.2 软件包:http://files.cnblogs.com/files/luobei/SublimeText2.0.2x64Setu

SUBLIME TEXT 2 设置文件详解

SUBLIME TEXT 2 设置文件详解 Preferences.sublime-settings文件: // While you can edit this file, it’s best to put your changes in // “User/Preferences.sublime-settings”, which overrides the settings in here. // // Settings may also be placed in file type speci

Sublime Text 2配置文件详解

Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自己需要的.而且 Linux 支持也做的非常好. 之前想设置什么都是直接在网上搜,但最近想调行距,这个把我给难住了,软件上的设置没找到,网上搜也没有,最后的最后在Sublime的官方论坛找到了,个人觉得行距还是很影响视觉体验的,看看下面的对比图就知道了: 看来想驾驭好这软件不弄清楚配置文件是不行了,周末

Sublime Text 2 -Sidebar 背景色调整为黑色

Sublime Text 2 编辑器: Ctrl+` 输入安装代码,安装package control 插件 ctrl+shift+P : Package install 为什么装不上了呢?出现了什么问题? -> 360清理垃圾先试一下:不知道怎么的又好了... 安装拓展包的两种方式 主题(但是侧边栏颜色要怎么改?!应该有具体代码的) NCL,Fortran包 Sidebar背景颜色设计代码步骤:好吧,我知道我有强迫症,无图无真相,来张图: 1)Package Install : Package

Sublime Text 3 设置文件详解

Preferences.sublime-settings-Default 文件: // While you can edit this file, it's best to put your changes in // "User/Preferences.sublime-settings", which overrides the settings in here. // // Settings may also be placed in file type specific opti

记录下Sublime Text Mac版的快捷键

推荐使用最新版本的Chrome/Safari或者Firefox浏览器浏览此页,否则Mac按键可能无法正常展示 The Latest Version of Chrome/Safari or Firefox is Recommeded. Keypress Command ? + X Delete line ? + ? + K Delete line ? + ? Insert line after ? + ? + ? Insert line before ? + ? + ↑ Move line/sel

Notepad++ sublime text theme for C/C++

转自:https://coderwall.com/p/36x7uw 嗯,我决定还是把 整个文件贴出来,方便: 导入方法: 找到notepad++的目录,进入到themes里面. 建立一个:Waher-style.xml 然后把下面的内容copy进去.保存重启notepad++.然后在Settings 选择 Style Configurator. 在Select theme:里选择Waher-style. <?xml version="1.0" encoding="Win