-
-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot set proseWrap to always
when using .editorconfig
#2248
Comments
always
when using .editorconfig
You can't use all formatting options in editor config. Editor config only defines the following options: https://editorconfig.org/#file-format-details |
I think my description was unclear :) I know editorconfig has a limited set of formatting options, and I know I won't be able to define the My point is: I do use editorconfig for the few options that it supports, but I also want to be able to define the I wish it would instead behave like that:
Wouldn't it make sense? Would it be too complex? |
This is the part that gets super complicated. My suggestion is to use a |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This issue is in reaction to what I've read on #2155
If I understand, if a .editorconfig file is present, the VS Code settings are completely ignored. Is that correct? I was hoping that the precedence rules explained in the doc would apply per parameter.
This is an issue for me as I have a .editorconfig with the
max_line_length
setting, that I would like to use. However, this setting has no effect unless I pass theprose-wrap: always
option to prettier (it works when I run it with the CLI). And, as far as I know, there is no way to configure proseWrap from the .editorconfig.What can I do? Ideally, I'd like options that cannot be described via
.editorconfig
to use the VS Code default.The text was updated successfully, but these errors were encountered: