mirror of
https://github.com/openai/codex.git
synced 2026-06-01 19:02:59 +00:00
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"rust-analyzer.checkOnSave": true,
|
|
"rust-analyzer.check.command": "clippy",
|
|
"rust-analyzer.check.extraArgs": ["--tests"],
|
|
"rust-analyzer.rustfmt.extraArgs": ["--config", "imports_granularity=Item"],
|
|
"rust-analyzer.cargo.targetDir": "${workspaceFolder}/codex-rs/target/rust-analyzer",
|
|
"[rust]": {
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
|
"editor.formatOnSave": true,
|
|
},
|
|
"[toml]": {
|
|
"editor.defaultFormatter": "tamasfe.even-better-toml",
|
|
"editor.formatOnSave": true,
|
|
},
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": "explicit",
|
|
"source.organizeImports.ruff": "explicit",
|
|
},
|
|
},
|
|
// 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,
|
|
"evenBetterToml.formatter.reorderKeys": true,
|
|
}
|