Replies: 1 comment 1 reply
-
I guess zed try to format using prettier. Try changing formatter: {
"formatter": "language_server"
}
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a WordPress project using Roots 9 from Sage. This uses a
phpcs.xml
to setup PHP Code Sniffer.Now I want Zed to format my code just like VS Code does, so that people can easily choose their editor. I set up both editors to use PHP Actor as LSP.
Zed with PHP Actor notices it's a Code Sniffer project and makes an PHP Actor settings file, and I do get proper warnings.
As example: I have a rule set to change the indenting to 2 spaces.
Can I "correct" this behavior in the Zed config?
It feels like when formatting the Code Sniffer rules are ignored by PHP Actor in Zed.
Beta Was this translation helpful? Give feedback.
All reactions