Skip to content

This is a VSCode extension that allows you to add a prefix to all class names in your HTML or JSX files.

License

Notifications You must be signed in to change notification settings

yensubldg/prefix-class-vscode

Repository files navigation

Prefix Class VSCode Extension

This is a VSCode extension that allows you to add a prefix to all class names in your HTML or JSX files.

Features

  • Adds a prefix to all class names in your HTML or JSX files.

Installation

You can install this extension from the Visual Studio Code Marketplace.

Usage

To use this extension, follow these steps:

  1. Open a HTML or JSX file in VSCode.
  2. Select the text that you want to modify (if you want to modify the entire file, you can skip this step).
  3. Open the command palette (press Ctrl+Shift+P on Windows or Cmd+Shift+P on Mac).
  4. Type "Prefix Class" and select the "Prefix Class: Change prefix from html" or "Prefix Class: Change prefix from string" command.
  5. Enter the prefix that you want to add to the class names.
  6. Input prefix will be added to all class names in the selected text.
  7. Press "Enter" to apply the prefix.

Usage

Contribution

If you find any issues with this extension or want to contribute, please open an issue or a pull request on the GitHub repository.

License

This extension is licensed under the MIT License.