docs: Remove/fix mentions of code_actions_on_format post #39983 (#40040)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle
2025-10-11 23:55:57 +00:00
committed by GitHub
parent e11e39f9b4
commit deef58bef7
3 changed files with 16 additions and 82 deletions
+12 -10
View File
@@ -320,8 +320,8 @@ To run linter fixes automatically on save:
```json
"languages": {
"JavaScript": {
"code_actions_on_format": {
"source.fixAll.eslint": true
"formatter": {
"code_action": "source.fixAll.eslint"
}
}
}
@@ -334,15 +334,17 @@ Zed allows you to run both formatting and linting on save. Here's an example tha
```json
"languages": {
"JavaScript": {
"formatter": {
"external": {
"command": "prettier",
"arguments": ["--stdin-filepath", "{buffer_path}"]
"formatter": [
{
"code_action": "source.fixAll.eslint"
},
{
"external": {
"command": "prettier",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
},
"code_actions_on_format": {
"source.fixAll.eslint": true
},
],
"format_on_save": "on"
}
}