{"id":17467217,"url":"https://github.com/rsbondi/highlight-words","last_synced_at":"2025-09-27T12:31:24.248Z","repository":{"id":15296287,"uuid":"77848525","full_name":"rsbondi/highlight-words","owner":"rsbondi","description":"vscode extension to highlight all occurrences of words or expression","archived":false,"fork":false,"pushed_at":"2022-12-08T10:53:00.000Z","size":1425,"stargazers_count":50,"open_issues_count":15,"forks_count":83,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T13:12:44.316Z","etag":null,"topics":["highlighting","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsbondi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-02T17:02:30.000Z","updated_at":"2024-03-23T19:16:00.000Z","dependencies_parsed_at":"2023-01-11T20:23:06.322Z","dependency_job_id":null,"html_url":"https://github.com/rsbondi/highlight-words","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsbondi%2Fhighlight-words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsbondi%2Fhighlight-words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsbondi%2Fhighlight-words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsbondi%2Fhighlight-words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsbondi","download_url":"https://codeload.github.com/rsbondi/highlight-words/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234435783,"owners_count":18832182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["highlighting","vscode-extension"],"created_at":"2024-10-18T14:13:53.685Z","updated_at":"2025-09-27T12:31:23.892Z","avatar_url":"https://github.com/rsbondi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# highlight-words\n\n![screencast](https://github.com/rsbondi/highlight-words/raw/master/images/highlight.gif)\n\nThis extension is adapted from the sample VS code extension decorator-sample, inspired by atom-quick-highlight.\n\nIt creates a decoration for each selected word that appears in all editors. \n\n# Usage\n\n* You can add words by chosing **Highlight Toggle Current** from the command pallet, this will highlight the word at the cursor or the selection.  \n* To stop highlighting, choose **Highlight Remove**, then the desired word or expression, or all\n* You may also remove all from the command **Highlight Remove All** without the prompt for selection\n* 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).  \n* To highlight with options choose **Highlight Selection with Options** and choose `whole word`, `ignore case` or `both` when presented\n* You can set the mode for \"Highlight Toggle Current\" from the **Set Highlight Mode** command.  The default can be set in the configuration.\n* 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.\n\n# Configuration\n\nThe following options can be configured\n\n`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\n\n`highlightwords.box`: show highlights as a box around the selections if true, set highlight as background color if false\n\n`highlightwords.defaultMode`: the initial mode when initialized. 0=default, 1=whole word, 2=ignore case, 3=whole word and ignore case\n\n`highlightwords.showSidebar` provides a view in the explorer window for searching, changing options and removing highlights\n\ndefaults shown below\n\n```json\n\"highlightwords.colors\": [\n    { \"light\": \"#b3d9ff\", \"dark\": \"cyan\" },\n    { \"light\": \"#e6ffb3\", \"dark\": \"pink\" },\n    { \"light\": \"#b3b3ff\", \"dark\": \"lightgreen\" },\n    { \"light\": \"#ffd9b3\", \"dark\": \"magenta\" },\n    { \"light\": \"#ffb3ff\", \"dark\": \"cornflowerblue\" },\n    { \"light\": \"#b3ffb3\", \"dark\": \"orange\" },\n    { \"light\": \"#ffff80\", \"dark\": \"green\" },\n    { \"light\": \"#d1e0e0\", \"dark\": \"red\" }                                        \n    ...\n],\n\"highlightwords.box\": {\n    \"light\": false,\n    \"dark\": true\n},\n\"highlightwords.defaultMode\": {\n    \"default\": 0\n}\n\n\"highlightwords.showSidebar\": {\n    \"default\": true\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsbondi%2Fhighlight-words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsbondi%2Fhighlight-words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsbondi%2Fhighlight-words/lists"}