Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Highlight CodeNew to Visual Studio Code? Get it now.
Highlight Code

Highlight Code

Harsha bana

|
552 installs
| (1) | Free
Highlight Code For Presenting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HIGHLIGHT CODE IN VSCODE EDITOR WITH COLORS

This VSCODE extension enables to highlight the code with different colors.

Features

This extension provides functionality to highlight text with customizable colors in VS Code. It also allows you to manage your highlights effectively across the workspace. Below are the key features and commands included:

Highlight Selected Text

Easily highlight any selected text with your chosen color. The highlight remains persistent even when you reopen the file.

Choose a Highlight Color

Use a color picker to select your preferred highlight color from a wide range of options.

Remove Individual Highlight

Select The Highlighted Code to remove any already applied highlight

Remove All Highlights Across the Workspace

Remove all highlights from every file in the current workspace with a single command.

Extension Settings

This extension provides the following commands, which can be accessed via their respective shortcuts or through the Command Palette:

Commands and Shortcuts

This extension provides the following commands, accessible via shortcuts or the Command Palette:

Command Shortcut (Mac) Shortcut (Windows/Linux) Description
extension.highlightText Cmd+Shift+H Ctrl+Shift+H Highlights the selected text with the chosen color.
extension.selectHighlightColor Cmd+Shift+M Ctrl+Shift+M Opens a color picker to select the highlight color.
extension.clearAllHighlightsWorkspace Cmd+Shift+X Ctrl+Shift+X Removes all highlights across the entire workspace.
`` select highligted text select highlighted text Removes highlight for the selected text

Extension Settings

This extension contributes the following settings to your VS Code configuration:

Setting Type Default Description
highlightText.enable boolean true Enable or disable the text highlighting functionality of this extension.
highlightText.defaultColor string #FFFF00 Specify the default highlight color in hexadecimal format (e.g., #FF0000 for red).
highlightText.fontStyle string italic Sets the font to italic.
highlightText.fontWeight string bold Sets the font weight to bold.
highlightText.color string black for light themes, white for dark themes Sets the font color.

How to Update Settings

To modify these settings:

  1. Open your settings file:

    • Navigate to File > Preferences > Settings.
    • Or use the shortcut: Cmd+shift+M, (Mac) / Ctrl+shift+M, (Windows/Linux).
  2. Search for the desired setting (e.g., highlightText.defaultColor).

  3. Update its value based on your preferences.

For example, to change the default highlight color to red, update the setting:

"highlightText.defaultColor": "#FF0000"

Release Notes

Includes Only Highlighting code, Color Selection & Clearing All The Highlighted Code

1.0.0

Base Extension

1.0.1

User Can Removed Individual Highlights Added Icon For Vs code

1.0.2(Future Release)

Integration With Find and Search

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft