Change styleName to className in JSX/TSX files with Emmet

28 Views Asked by At

In June 2023 update of VS Code. Developers add possibility to customize CSS modules in JSX/TSX files.

But now it doesn`t work. Here my settings

  "emmet.syntaxProfiles": {
    "jsx, tsx": {
      "markup.attributes": {
        "class*": "className"
      }
    }
  },

Also I used custom file with snippets for Emmet. Try add this rule there and try to disable snippet file. It doesn`t help

UPD. Add link the VS Code Update

0

There are 0 best solutions below