prettier-plugin-classnames icon indicating copy to clipboard operation
prettier-plugin-classnames copied to clipboard

A Prettier plugin that wraps verbose class name based on the `printWidth` option.

Results 9 prettier-plugin-classnames issues
Sort by recently updated
recently updated
newest added

enhancement
type: new language

## Can I use this plugin with `prettier-plugin-tailwindcss`? Of course! However, there are a few notes. 1. Languages that can be used with `prettier-plugin-tailwindcss` are limited to: - JavaScript -...

documentation

Refs: [prettier-plugin-brace-style#21](https://github.com/ony3000/prettier-plugin-brace-style/issues/21)

enhancement
type: core

Thanks for the awesome plugin! It really is a must have. ## Dependency information ```json "prettier": "^3.3.2", "prettier-plugin-classnames": "^0.7.0", "prettier-plugin-merge": "^0.7.0", "prettier-plugin-tailwindcss": "^0.6.5", "tailwindcss": "^3.4.4", ``` ## Steps to reproduce...

bug

I am using cn (clsw, twMerge) - this means I have class lists inside plain string variables. Would be nice we could target the formatting for certain string variables: `...

enhancement

## Dependency information In a svelte file using TypeScript, when there is any type annotation within the tag, the formatter does not break tailwindcss class line properly. ## Steps to...

bug

## Is your feature request related to a problem? Please describe In Vue JSX, if `class` appears on multiple lines without using backticks, a module resolution error will occur, and...

enhancement

### Current Behavior When `maxLength` is set to 120 in the plugin configuration, it does not break lines for long class strings as expected. ### Expected Behavior The plugin should...

bug