mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-27 08:15:31 +00:00
chore: generate
This commit is contained in:
@@ -11,32 +11,32 @@ OpenCode, dosyaları dile özgü formatlayıcılar kullanılarak yazıldıktan v
|
||||
|
||||
OpenCode, popüler diller ve çerçeveler için çeşitli yerleşik biçimlendiricilerle birlikte gelir. Aşağıda ihtiyaç duyduğu biçimlendiricilerin, desteklenen dosya uzantılarının ve komutların veya yapılandırma seçeneklerinin bir listesi bulunmaktadır.
|
||||
|
||||
| Formatter | Extensions | Requirements |
|
||||
| ------------------ | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
|
||||
| gofmt | .go | `gofmt` komutu mevcut |
|
||||
| karışım | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix` komutu mevcut |
|
||||
| daha güzel | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml ve [more](https://prettier.io/docs/en/index.html) | `prettier` bağımlılığı `package.json`'de |
|
||||
| biyom | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml ve [more](https://biomejs.dev/) | `biome.json(c)` yapılandırma dosyası |
|
||||
| zig | .zig, .zon | `zig` komutu mevcut |
|
||||
| clang formatı | .c, .cpp, .h, .hpp, .ino ve [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` yapılandırma dosyası |
|
||||
| klint | .kt, .kts | `ktlint` komutu mevcut |
|
||||
| fırfır | .py, .pyi | `ruff` komutu yapılandırmayla kullanılabilir |
|
||||
| pas fmt | .rs | `rustfmt` komutu mevcut |
|
||||
| kargo fmt | .rs | `cargo fmt` komutu mevcut |
|
||||
| UV | .py, .pyi | `uv` komutu mevcut |
|
||||
| rubokop | .rb, .rake, .gemspec, .ru | `rubocop` komutu mevcut |
|
||||
| standartrb | .rb, .rake, .gemspec, .ru | `standardrb` komutu mevcut |
|
||||
| htmlgüzelleştirici | .erb, .html.erb | `htmlbeautifier` komutu mevcut |
|
||||
| hava | .R | `air` komutu mevcut |
|
||||
| dart | .dart | `dart` komutu mevcut |
|
||||
| ocamlformat | .ml, .mli | `ocamlformat` komutu mevcut ve `.ocamlformat` yapılandırma dosyası |
|
||||
| yeryüzü | .tf, .tfvars | `terraform` komutu mevcut |
|
||||
| parıltı | .gliam | `gleam` komutu mevcut |
|
||||
| nixfmt | .nix | `nixfmt` komutu mevcut |
|
||||
| shfmt | .sh, .bash | `shfmt` komutu mevcut |
|
||||
| pint | .php | `laravel/pint` dependency in `composer.json` |
|
||||
| Formatter | Extensions | Requirements |
|
||||
| ------------------ | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
||||
| gofmt | .go | `gofmt` komutu mevcut |
|
||||
| karışım | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix` komutu mevcut |
|
||||
| daha güzel | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml ve [more](https://prettier.io/docs/en/index.html) | `prettier` bağımlılığı `package.json`'de |
|
||||
| biyom | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml ve [more](https://biomejs.dev/) | `biome.json(c)` yapılandırma dosyası |
|
||||
| zig | .zig, .zon | `zig` komutu mevcut |
|
||||
| clang formatı | .c, .cpp, .h, .hpp, .ino ve [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` yapılandırma dosyası |
|
||||
| klint | .kt, .kts | `ktlint` komutu mevcut |
|
||||
| fırfır | .py, .pyi | `ruff` komutu yapılandırmayla kullanılabilir |
|
||||
| pas fmt | .rs | `rustfmt` komutu mevcut |
|
||||
| kargo fmt | .rs | `cargo fmt` komutu mevcut |
|
||||
| UV | .py, .pyi | `uv` komutu mevcut |
|
||||
| rubokop | .rb, .rake, .gemspec, .ru | `rubocop` komutu mevcut |
|
||||
| standartrb | .rb, .rake, .gemspec, .ru | `standardrb` komutu mevcut |
|
||||
| htmlgüzelleştirici | .erb, .html.erb | `htmlbeautifier` komutu mevcut |
|
||||
| hava | .R | `air` komutu mevcut |
|
||||
| dart | .dart | `dart` komutu mevcut |
|
||||
| ocamlformat | .ml, .mli | `ocamlformat` komutu mevcut ve `.ocamlformat` yapılandırma dosyası |
|
||||
| yeryüzü | .tf, .tfvars | `terraform` komutu mevcut |
|
||||
| parıltı | .gliam | `gleam` komutu mevcut |
|
||||
| nixfmt | .nix | `nixfmt` komutu mevcut |
|
||||
| shfmt | .sh, .bash | `shfmt` komutu mevcut |
|
||||
| pint | .php | `laravel/pint` dependency in `composer.json` |
|
||||
| oxfmt (Deneysel) | .js, .jsx, .ts, .tsx | `package.json` içindeki `oxfmt` bağımlılığı ve [experimental env variable flag](/docs/cli/#experimental) |
|
||||
| ormolu | .hs | `ormolu` komutu mevcut |
|
||||
| ormolu | .hs | `ormolu` komutu mevcut |
|
||||
|
||||
Yani eğer projenizin `package.json` dosyasında `prettier` varsa, OpenCode bunu otomatik olarak kullanacaktır.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user