2025-07-17 11:40:00 -07:00
|
|
|
{
|
|
|
|
|
"rust-analyzer.checkOnSave": true,
|
|
|
|
|
"rust-analyzer.check.command": "clippy",
|
|
|
|
|
"rust-analyzer.check.extraArgs": ["--all-features", "--tests"],
|
|
|
|
|
"rust-analyzer.rustfmt.extraArgs": ["--config", "imports_granularity=Item"],
|
|
|
|
|
"[rust]": {
|
|
|
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
|
|
|
|
"editor.formatOnSave": true,
|
2025-07-30 18:37:00 -07:00
|
|
|
},
|
|
|
|
|
"[toml]": {
|
|
|
|
|
"editor.defaultFormatter": "tamasfe.even-better-toml",
|
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
|
},
|
2025-08-04 21:57:55 -07:00
|
|
|
// Array order for options in ~/.codex/config.toml such as `notify` and the
|
|
|
|
|
// `args` for an MCP server is significant, so we disable reordering.
|
|
|
|
|
"evenBetterToml.formatter.reorderArrays": false,
|
2025-07-30 18:37:00 -07:00
|
|
|
"evenBetterToml.formatter.reorderKeys": true,
|
2025-07-17 11:40:00 -07:00
|
|
|
}
|