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 ...
随机推荐
- HW5.21
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner i ...
- HW4.10
public class Solution { public static void main(String[] args) { int count = 0; for(int i = 100; i & ...
- IT应聘者的简历应该是怎么样的?
从去年到现在看了几百份简历,包括产品运营和产品设计师的职位.我不是 HR,只是想直接看到求职者的状况,看看是不是要换更准确的渠道去招聘对的人.我看简历的目的也很简单:找到没有什么问题且可能合适的人,然 ...
- Learning JavaScript Design Patterns The Observer Pattern
The Observer Pattern The Observer is a design pattern where an object (known as a subject) maintains ...
- 多点触控之MotionEvent.ACTION_MASK作用
ACTION_MASK在Android中是应用于多点触摸操作,字面上的意思大概是动作掩码的意思吧. 在onTouchEvent(MotionEvent event)中,使用switch (event. ...
- ARR状态监控脚本
##################################################################################### # THIS IS SAMP ...
- python实现的基于TCP的JSON数据通信
用Python写的一个多线程TCP通信实例,实现了JSON数据的传输. 闲言少述,直接上代码 一.client #!/usr/bin/env python # -*- coding:utf-8 - ...
- input 的 placeholder属性在IE8下的兼容处理
placeholder是input标签的新属性,在使用的时候有两个问题: 1.IE8 下不兼容 处理思路: 如果浏览器不识别placeholder属性,给input添加类名placeholder,模仿 ...
- Android应用程序所包含的四种组件和DDMS
关注用户组件 Activity 编辑文本 .玩游戏 后台进程 Service ...
- c基础语法
1 连续写两个分号,第2个分号就是一条空语句,空语句实际是什么也不做,语法是正确的,编译不会出错. 空语句可以增加程序的可读性,可以作为待写的函数体.循环体.语句块.所以,空语句是可以有用的. 2 s ...