mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-10 02:39:56 +00:00
chore: generate
This commit is contained in:
@@ -29,16 +29,16 @@ opencode [project]
|
||||
|
||||
#### Flaggen
|
||||
|
||||
| Flagge | Kurz | Beschreibung |
|
||||
| ------------ | ---- | ------------------------------------------------- |
|
||||
| `--continue` | `-c` | Setzen Sie die letzte Sitzung fort |
|
||||
| `--session` | `-s` | Sitzung ID zum Fortfahren |
|
||||
| Flagge | Kurz | Beschreibung |
|
||||
| ------------ | ---- | ---------------------------------------------------------------------- |
|
||||
| `--continue` | `-c` | Setzen Sie die letzte Sitzung fort |
|
||||
| `--session` | `-s` | Sitzung ID zum Fortfahren |
|
||||
| `--fork` | | Sitzung beim Fortsetzen verzweigen (mit `--continue` oder `--session`) |
|
||||
| `--prompt` | | Zur Verwendung auffordern |
|
||||
| `--model` | `-m` | Zu verwendendes Modell in der Form provider/model |
|
||||
| `--agent` | | Zu verwendender Agent |
|
||||
| `--port` | | Port zum Abhören |
|
||||
| `--hostname` | | Hostname zum Abhören |
|
||||
| `--prompt` | | Zur Verwendung auffordern |
|
||||
| `--model` | `-m` | Zu verwendendes Modell in der Form provider/model |
|
||||
| `--agent` | | Zu verwendender Agent |
|
||||
| `--port` | | Port zum Abhören |
|
||||
| `--hostname` | | Hostname zum Abhören |
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -11,32 +11,32 @@ OpenCode formatiert Dateien automatisch, nachdem sie mit sprachspezifischen Form
|
||||
|
||||
OpenCode verfügt über mehrere integrierte Formatierer für gängige Sprachen und Frameworks. Nachfolgend finden Sie eine Liste der Formatierer, unterstützten Dateierweiterungen und benötigten Befehle oder Konfigurationsoptionen.
|
||||
|
||||
| Formatierer | Erweiterungen | Anforderungen |
|
||||
| --------------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
| gofmt | .go | `gofmt`-Befehl verfügbar |
|
||||
| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix`-Befehl verfügbar |
|
||||
| prettier | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://prettier.io/docs/en/index.html) | `prettier`-Abhängigkeit in `package.json` |
|
||||
| biome | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://biomejs.dev/) | `biome.json(c)` Konfigurationsdatei |
|
||||
| zig | .zig, .zon | `zig`-Befehl verfügbar |
|
||||
| clang-format | .c, .cpp, .h, .hpp, .ino und [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` Konfigurationsdatei |
|
||||
| ktlint | .kt, .kts | `ktlint`-Befehl verfügbar |
|
||||
| ruff | .py, .pyi | `ruff`-Befehl verfügbar mit config |
|
||||
| rustfmt | .rs | `rustfmt`-Befehl verfügbar |
|
||||
| cargofmt | .rs | `cargo fmt`-Befehl verfügbar |
|
||||
| uv | .py, .pyi | `uv`-Befehl verfügbar |
|
||||
| rubocop | .rb, .rake, .gemspec, .ru | `rubocop`-Befehl verfügbar |
|
||||
| standardrb | .rb, .rake, .gemspec, .ru | `standardrb`-Befehl verfügbar |
|
||||
| htmlbeautifier | .erb, .html.erb | `htmlbeautifier`-Befehl verfügbar |
|
||||
| air | .R | `air`-Befehl verfügbar |
|
||||
| dart | .dart | `dart`-Befehl verfügbar |
|
||||
| ocamlformat | .ml, .mli | `ocamlformat` Befehl verfügbar und `.ocamlformat` Konfigurationsdatei |
|
||||
| terraform | .tf, .tfvars | `terraform`-Befehl verfügbar |
|
||||
| gleam | .gleam | `gleam`-Befehl verfügbar |
|
||||
| nixfmt | .nix | `nixfmt`-Befehl verfügbar |
|
||||
| shfmt | .sh, .bash | `shfmt`-Befehl verfügbar |
|
||||
| pint | .php | `laravel/pint`-Abhängigkeit in `composer.json` |
|
||||
| Formatierer | Erweiterungen | Anforderungen |
|
||||
| -------------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
| gofmt | .go | `gofmt`-Befehl verfügbar |
|
||||
| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix`-Befehl verfügbar |
|
||||
| prettier | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://prettier.io/docs/en/index.html) | `prettier`-Abhängigkeit in `package.json` |
|
||||
| biome | .js, .jsx, .ts, .tsx, .html, .css, .md, .json, .yaml, und [more](https://biomejs.dev/) | `biome.json(c)` Konfigurationsdatei |
|
||||
| zig | .zig, .zon | `zig`-Befehl verfügbar |
|
||||
| clang-format | .c, .cpp, .h, .hpp, .ino und [more](https://clang.llvm.org/docs/ClangFormat.html) | `.clang-format` Konfigurationsdatei |
|
||||
| ktlint | .kt, .kts | `ktlint`-Befehl verfügbar |
|
||||
| ruff | .py, .pyi | `ruff`-Befehl verfügbar mit config |
|
||||
| rustfmt | .rs | `rustfmt`-Befehl verfügbar |
|
||||
| cargofmt | .rs | `cargo fmt`-Befehl verfügbar |
|
||||
| uv | .py, .pyi | `uv`-Befehl verfügbar |
|
||||
| rubocop | .rb, .rake, .gemspec, .ru | `rubocop`-Befehl verfügbar |
|
||||
| standardrb | .rb, .rake, .gemspec, .ru | `standardrb`-Befehl verfügbar |
|
||||
| htmlbeautifier | .erb, .html.erb | `htmlbeautifier`-Befehl verfügbar |
|
||||
| air | .R | `air`-Befehl verfügbar |
|
||||
| dart | .dart | `dart`-Befehl verfügbar |
|
||||
| ocamlformat | .ml, .mli | `ocamlformat` Befehl verfügbar und `.ocamlformat` Konfigurationsdatei |
|
||||
| terraform | .tf, .tfvars | `terraform`-Befehl verfügbar |
|
||||
| gleam | .gleam | `gleam`-Befehl verfügbar |
|
||||
| nixfmt | .nix | `nixfmt`-Befehl verfügbar |
|
||||
| shfmt | .sh, .bash | `shfmt`-Befehl verfügbar |
|
||||
| pint | .php | `laravel/pint`-Abhängigkeit in `composer.json` |
|
||||
| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt`-Abhängigkeit in `package.json` und einer [experimental env variable flag](/docs/cli/#experimental) |
|
||||
| Ormolu | .hs | `ormolu`-Befehl verfügbar |
|
||||
| Ormolu | .hs | `ormolu`-Befehl verfügbar |
|
||||
|
||||
Wenn Ihr Projekt auch `prettier` in Ihrem `package.json` hat, wird OpenCode automatisch verwendet.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user