Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>class-to-classnameNew to Visual Studio Code? Get it now.
class-to-classname

class-to-classname

Dylan Garcia

|
587 installs
| (1) | Free
Replace class= with className= on paste in React files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

class-to-classname VS Code Extension

This extension will replace class= with className= when pasting in to React files (identified by either the .jsx or .tsx extensions, or in unsaved files that have the Javascript React or Typescript React language mode). This makes copying from HTML-based sources (such as Tailwind UI) to React destinations easier.

Installation

You can install this extension from the Visual Studio Marketplace.

Demo

vscode-class-to-classname

Release Notes

1.0.0

Initial release of class-to-classname

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