Hyeonjong

Results 45 comments of Hyeonjong

This plugin is theoretically equivalent to applying ESLint formatting (`brace-style` only) after applying Prettier formatting. Therefore, currently, it is not possible to tell from the intermediate text (Prettier formatted) whether...

@nogeenkopjethee This is possible if the `allowSingleLine` option is implemented.

I knew that prettier had a `range` option. However, because I didn't know about VSCode's "Format Selection" feature, I could not find an example of the range option being used...

Well, the issue doesn't reproduce with Vite template using Vue 3. What is your development environment like?

@gersomvg That's weird. Line wrapping works fine in Astro components too. Maybe your VS Code is missing [the `prettier.documentSelectors` setting](https://github.com/withastro/prettier-plugin-astro/blob/main/README.md#formatting-with-the-vs-code-prettier-extension-directly). If your setup is fine but line wrapping is not...

When implementing Astro integration for this plugin, I also saw https://github.com/withastro/astro/issues/4029. I didn't take any action on this plugin at the time because it seemed to be a problem with...

@u3u @gersomvg Finally fixed in `v0.7.7`, check it out! :smile:

Hi, there have been similar suggestions in the past (#21, #32), but I would like to avoid adding a custom width option if possible. Can you explain to me why...

Unfortunately, there is currently no way to configure the length of the class name independently from the `printWidth`. However, since the numbers 160 and 50 given as an example are...

Have you checked the [ending-position](https://github.com/ony3000/prettier-plugin-classnames#ending-position) option?