All Projects → rsbondi → highlight-words

rsbondi / highlight-words

Licence: MIT license
vscode extension to highlight all occurrences of words or expression

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to highlight-words

vscode-text-marker
Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable
Stars: ✭ 61 (+90.63%)
Mutual labels:  highlighting, vscode-extension
icie
Competitive programming IDE-as-a-VS-Code-plugin
Stars: ✭ 81 (+153.13%)
Mutual labels:  vscode-extension
Wikitext-VSCode-Extension
A Visual Studio Code Extension that provides language support for Wikitext.
Stars: ✭ 50 (+56.25%)
Mutual labels:  vscode-extension
terrastate
Visual Studio Code extension to monitor/deploy/destroy Terraform resources in workspace
Stars: ✭ 70 (+118.75%)
Mutual labels:  vscode-extension
vscode-commit-message-editor
Edit commit messages in a convenient way.
Stars: ✭ 40 (+25%)
Mutual labels:  vscode-extension
lwc-builder
VSCode Extension to kickstart Lightning Web Component development.
Stars: ✭ 15 (-53.12%)
Mutual labels:  vscode-extension
Smile-Theme
完整的 VSCode 主题,包括图标与界面配色
Stars: ✭ 20 (-37.5%)
Mutual labels:  vscode-extension
lix.vscode
Visual Studio Code extension for lix
Stars: ✭ 16 (-50%)
Mutual labels:  vscode-extension
pine-script-syntax-highlighting
Syntax Highlighting for Pine Script
Stars: ✭ 58 (+81.25%)
Mutual labels:  vscode-extension
vscode-Nyan-Cat
Nyan Cat for VSCode!
Stars: ✭ 37 (+15.63%)
Mutual labels:  vscode-extension
vscode-qiita
🔍 Smart Qiita integration for Visual Studio Code
Stars: ✭ 31 (-3.12%)
Mutual labels:  vscode-extension
vscode-settings
vscode(Visual Studio Code) 相关设置、使用技巧等整理
Stars: ✭ 16 (-50%)
Mutual labels:  vscode-extension
vscode-tenkawa-php
Visual Studio Code extension integrating Tenkawa PHP language server.
Stars: ✭ 28 (-12.5%)
Mutual labels:  vscode-extension
vscode-ron
Rust Object Notation (RON) vscode extension
Stars: ✭ 31 (-3.12%)
Mutual labels:  vscode-extension
language-tools
🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
Stars: ✭ 159 (+396.88%)
Mutual labels:  vscode-extension
vscode-blockman
VSCode extension to highlight nested code blocks
Stars: ✭ 233 (+628.13%)
Mutual labels:  vscode-extension
vscode-stylelint-plus
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint, support auto fix on save.
Stars: ✭ 32 (+0%)
Mutual labels:  vscode-extension
vscode-caddyfile-support
Rich Caddyfile support for Visual Studio Code
Stars: ✭ 30 (-6.25%)
Mutual labels:  vscode-extension
vscode-appsync-resolver-autocomplete
Adds autocomplete functionality to vscode when editing AWS AppSync resolver vtl files.
Stars: ✭ 21 (-34.37%)
Mutual labels:  vscode-extension
vscode-guides
An extension for more guide lines
Stars: ✭ 64 (+100%)
Mutual labels:  vscode-extension

highlight-words

screencast

This extension is adapted from the sample VS code extension decorator-sample, inspired by atom-quick-highlight.

It creates a decoration for each selected word that appears in all editors.

Usage

  • You can add words by chosing Highlight Toggle Current from the command pallet, this will highlight the word at the cursor or the selection.
  • To stop highlighting, choose Highlight Remove, then the desired word or expression, or all
  • You may also remove all from the command Highlight Remove All without the prompt for selection
  • To highlight using regular expression choose Highlight Expression and enter expression(slashes optional, can ignore case with /expression/i(g flag is automatic, i flag accepted, all others ignored).
  • To highlight with options choose Highlight Selection with Options and choose whole word, ignore case or both when presented
  • You can set the mode for "Highlight Toggle Current" from the Set Highlight Mode command. The default can be set in the configuration.
  • Sidebar can show in explorer view and can be toggled on and off with Highlight Toggle Sidebar command. This provides features such as navigating highlighted items, context menu for changing options and removing.

Configuration

The following options can be configured

highlightwords.colors: this is an array of light/dark pairs for respective theme types, you can have as few or as many as you like

highlightwords.box: show highlights as a box around the selections if true, set highlight as background color if false

highlightwords.defaultMode: the initial mode when initialized. 0=default, 1=whole word, 2=ignore case, 3=whole word and ignore case

highlightwords.showSidebar provides a view in the explorer window for searching, changing options and removing highlights

defaults shown below

"highlightwords.colors": [
    { "light": "#b3d9ff", "dark": "cyan" },
    { "light": "#e6ffb3", "dark": "pink" },
    { "light": "#b3b3ff", "dark": "lightgreen" },
    { "light": "#ffd9b3", "dark": "magenta" },
    { "light": "#ffb3ff", "dark": "cornflowerblue" },
    { "light": "#b3ffb3", "dark": "orange" },
    { "light": "#ffff80", "dark": "green" },
    { "light": "#d1e0e0", "dark": "red" }                                        
    ...
],
"highlightwords.box": {
    "light": false,
    "dark": true
},
"highlightwords.defaultMode": {
    "default": 0
}

"highlightwords.showSidebar": {
    "default": true
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].