docs: Remove/fix mentions of code_actions_on_format post #39983 - #40040
Merged
Conversation
probably-neb
enabled auto-merge (squash)
October 11, 2025 23:53
Contributor
|
I have a global with It's not clear how the new config would look like when I'm looking at the docs or the |
Collaborator
Author
probably-neb
added a commit
that referenced
this pull request
Oct 13, 2025
Follow up for: #39983 and #40040 (comment) Previously it was possible to have formatting done using prettier or language server using `"formatter": "auto"` and specify code actions to apply on format using the `"code_actions_on_format"` setting. However, post #39983 this is no longer possible due to the removal of the `"code_actions_on_format"` setting. To rectify this regression, this PR makes it so that the `"auto"` and `"language_server"` strings that were previously only allowed as top level values on the `"formatter"` key, are now allowed as format steps like so: ```json { "formatter": ["auto", "language_server"] } ``` Therefore to replicate the previous behavior using `"auto"` and `"code_actions_on_format"` you can use the following configuration: ```json { "formatter": [{"code_action": ...}, "auto"] } ``` Release Notes: - N/A *or* Added/Fixed/Improved ...
probably-neb
added a commit
that referenced
this pull request
Oct 13, 2025
Follow up for: #39983 and #40040 (comment) Previously it was possible to have formatting done using prettier or language server using `"formatter": "auto"` and specify code actions to apply on format using the `"code_actions_on_format"` setting. However, post #39983 this is no longer possible due to the removal of the `"code_actions_on_format"` setting. To rectify this regression, this PR makes it so that the `"auto"` and `"language_server"` strings that were previously only allowed as top level values on the `"formatter"` key, are now allowed as format steps like so: ```json { "formatter": ["auto", "language_server"] } ``` Therefore to replicate the previous behavior using `"auto"` and `"code_actions_on_format"` you can use the following configuration: ```json { "formatter": [{"code_action": ...}, "auto"] } ``` Release Notes: - N/A *or* Added/Fixed/Improved ...
Contributor
|
@probably-neb I think some of the docs removals in this PR need to be reverted, given #40113. |
jasonsmithio
pushed a commit
to paddleboarddev/paddleboard
that referenced
this pull request
May 31, 2026
Follow up for: #39983 and zed-industries/zed#40040 (comment) Previously it was possible to have formatting done using prettier or language server using `"formatter": "auto"` and specify code actions to apply on format using the `"code_actions_on_format"` setting. However, post #39983 this is no longer possible due to the removal of the `"code_actions_on_format"` setting. To rectify this regression, this PR makes it so that the `"auto"` and `"language_server"` strings that were previously only allowed as top level values on the `"formatter"` key, are now allowed as format steps like so: ```json { "formatter": ["auto", "language_server"] } ``` Therefore to replicate the previous behavior using `"auto"` and `"code_actions_on_format"` you can use the following configuration: ```json { "formatter": [{"code_action": ...}, "auto"] } ``` Release Notes: - N/A *or* Added/Fixed/Improved ...
jolutz
pushed a commit
to jolutz/zed
that referenced
this pull request
Aug 8, 2026
…ries#39983 (zed-industries#40040) Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
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.
Follow up for: #39983
Release Notes: