Highlight Code SnippetHighlight selected code directly in the editor to mark important logic, temporary notes, or areas of interest without modifying the file itself. This extension uses editor decorations only. No comments are inserted. No text is changed. The source stays clean. Source Code: https://github.com/Rovie569/Highlight-Code-Snippets Features
CommandHighlight Selection Toggles a highlight on the currently selected text. Pick Highlight Color Opens color picker menu to choose preset colors or custom RGB values with transparency. Clear Specific Highlight Removes the highlight at your cursor or active selection. Clear All Highlights Removes all highlights in the active file. Keyboard ShortcutWindows / Linux: Ctrl + H, then Ctrl + I This is a chorded shortcut. Press Ctrl+H first, then Ctrl+I. Pick Highlight Color: Ctrl + Alt + H Clear Specific Highlight: Ctrl + Shift + Alt + H Clear All Highlights: Ctrl + Shift + H Context MenuRight-click in the editor with text selected and choose: Highlight Selection Pick Highlight Color Clear Specific Highlight Clear All Highlights This entry is additive and does not override or conflict with VS Code’s default context menu actions. SettingsYou can configure the default highlight color: highlightCodeSnippet.defaultColor The value should be an RGBA color string. Example: "highlightCodeSnippet.defaultColor": "rgba(255, 255, 0, 0.6)" If not set, the extension falls back to a theme-appropriate highlight color. How to Use
Highlights are visual only and saved automatically across sessions. Notes
LicenseMIT |