docs: Update the formatting section for Python#48904
Merged
yeskunall merged 2 commits intozed-industries:mainfrom Feb 11, 2026
Merged
docs: Update the formatting section for Python#48904yeskunall merged 2 commits intozed-industries:mainfrom
yeskunall merged 2 commits intozed-industries:mainfrom
Conversation
yeskunall
reviewed
Feb 11, 2026
Member
yeskunall
left a comment
There was a problem hiding this comment.
I’m going to make some changes to make them more consistent with our existing docs, but otherwise this looks good!
Member
|
Thanks @lingyaochu! 💖 |
3 tasks
Veykril
pushed a commit
that referenced
this pull request
Mar 17, 2026
Related issue #48600, following #48904 Setting `"formatter": null` does not actually disable the formatter, as it is functionally equivalent to leaving the setting undefined. In this case, Zed falls back to the default behavior—either "auto" or a specific language server, depending on the language. This PR adds a "none" option to the formatter setting, allowing users to explicitly disable formatting while keeping `code_actions_on_format` enabled separately. ```json "formatter": "none" ``` I still have some doubts about the necessity of this setting itself, but if it is a desired addition, I will update the documentation accordingly. If not, please feel free to close this PR. - [x] Tests or screenshots needed? - [x] Code Reviewed - [x] Manual QA Release Notes: - Added `"formatter": "none"` in settings to explicitly disable the formatter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have added the
code_actions_on_formatsetting. I also temporarily removed the mention of"formatter": null. Based on our findings in #48600, its current behavior is inconsistent, so I've omitted it for now to avoid confusing users. I will add it back once the underlying issue is fixed (likely in a subsequent PR).Closes #48600.
Release Notes: