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
- Unpack files to an folder for add-ins of your visual studio.
- 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的更多相关文章
- 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. – ...
- js get selected text
js get selected text https://stackoverflow.com/questions/3170648/how-to-get-javascript-select-boxs-s ...
- Copy Selected Text from any window
https://social.msdn.microsoft.com/Forums/windows/en-US/1dc356e6-9441-44de-9eda-247003fa6ef5/copy-sel ...
- get the text value of a selected option.
<select id="myselect"> <option value="1">Mr</option> <optio ...
- Sublime Text 2配置文件详解
Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自己 ...
- SUBLIME TEXT 2 设置文件详解
SUBLIME TEXT 2 设置文件详解 Preferences.sublime-settings文件: // While you can edit this file, it’s best to ...
- [转]Sublime Text 2 设置文件详解
Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自己 ...
- Sublime Text 设置文件详解
Sublime Text 2是那种让人会一眼就爱上的编辑器,不仅GUI让人眼前一亮,功能更是没的说,拓展性目前来说也完全够用了,网上介绍软件的文章和推荐插件的文章也不少,而且很不错,大家可以去找找自 ...
- Subline Text默认设置文件Preferences.sublime-settings—Default详解
Subline Text中,点击Preferences,选择Settings - Default 全部属性解析 // While you can edit this file, it's best t ...
随机推荐
- 股票中的数学:EMA的推导01
说明:本人并不炒股,原因很简单:没钱.当然了,作为一名IT工作者,因为工作需要和个人兴趣,就有了本系列文章.阅读本系列文章不需要任何高深的知识,哪怕是一个像我这样从未真正炒过股的人也没关系.但本文还是 ...
- Java 并发之线程安全
写线程安全的代码,说白了就是管理一个类的共享的.可变的状态.只要有多于 1 个线程对类的状态进行写入,那么就必须用同步来协调这多个线程对状态的访问.对于一个没有状态的类来说(简单的理解就是只有方法没有 ...
- Google Code Jam 第一题
通过的第一题,留做纪念,呵呵,非常简单,Africa 2010, Qualification Round: Store Credit. #include <stdio.h> #includ ...
- Sublime Text 教程
编辑器的选择(Editor Choices) 从初学编程到现在,我用过的编辑器有EditPlus.UltraEdit.Notepad++.Vim.TextMate和Sublime Text,如果让我从 ...
- 操作系统课堂笔记(2)操作系统的硬件环境之I/O技术和时钟
I/O技术 1.程序控制I/O技术 有处理器提供相关的IO指令来实现的.主要缺陷是,处理器必须关注IO处理单元的状态,因而它会耗费大量的时间轮询以获得这个信息,这严重降低了系统性能. 2.中断驱动I/ ...
- Identity-第一章
本篇文章内容搭建Identity项目,实现几个用户基本的功能,了解Identity具体是什么. 一.Identity入门 Identity是微软在ASP.NET应用程序中管理用户的一个新的API. 1 ...
- 在Java中如何用String类中的indexof方法得到一个词的出现频率
public class Test{ public static void main(String[] args) { String s="hello jack hello look me ...
- HTML中Select的使用具体解释
<html> <head> <SCRIPT LANGUAGE="JavaScript"> <!-- //oSelect 列表的底部加入了一 ...
- MySQL批处理SQL语句
MySQL 支持批处理的模式运行一批SQL语句,以下的样例就是实验MySQL怎样在windows下批处理运行SQL语句. create table test(id int,name varchar(2 ...
- SQL Server 2008 游标使用实例
本文使用以下两张数据库表作为演示对象. 1 游标初探--使用游标进行遍历 declare @classAndStudent table( class_id int, --班级ID class_name ...