all options
trixie  ] [  sid  ]
[ Source: emacs-format-all-the-code  ]

Package: elpa-format-all (0.6.0-1)

Links for elpa-format-all

Screenshot

Debian Resources:

Download Source Package emacs-format-all-the-code:

Maintainers:

External Resources:

Similar packages:

formattazione automatica di C, C++, JS, Python, Ruby e altri 50 linguaggi

Permette di formattare automaticamente il codice sorgente in molti linguaggi usando lo stesso comando per tutti i linguaggi, invece di imparare un differente pacchetto Emacs e comando di formattazione per ciascun linguaggio.

È sufficiente usare M-x format-all-buffer e cercherà di fare del suo meglio per fare la cosa giusta. Per formattare automaticamente al salvataggio, usare la modalità secondaria. Consultare la documentazione di tale funzione per le istruzioni.

Linguaggi supportati:

 - Angular/Vue (prettier)
 - Assembly (asmfmt)
 - ATS (atsfmt)
 - Awk (gawk)
 - Bazel Starlark (buildifier)
 - BibTeX (Emacs)
 - C/C++/Objective-C (clang-format, astyle)
 - C# (clang-format, astyle)
 - Cabal (cabal-fmt)
 - Clojure/ClojureScript (node-cljfmt)
 - CMake (cmake-format)
 - Crystal (crystal tool format)
 - CSS/Less/SCSS (prettier)
 - D (dfmt)
 - Dart (dartfmt)
 - Dhall (dhall format)
 - Dockerfile (dockfmt)
 - Elixir (mix format)
 - Elm (elm-format)
 - Emacs Lisp (Emacs)
 - Fish Shell (fish_indent)
 - Fortran 90 (fprettify)
 - Gleam (gleam format)
 - GLSL (clang-format)
 - Go (gofmt, goimports)
 - GraphQL (prettier)
 - Haskell (brittany, fourmolu, hindent, ormolu, stylish-haskell)
 - HTML/XHTML/XML (tidy)
 - Java (clang-format, astyle)
 - JavaScript/JSON/JSX (prettier, standard)
 - Jsonnet (jsonnetfmt)
 - Kotlin (ktlint)
 - LaTeX (latexindent, auctex)
 - Ledger (ledger-mode)
 - Lua (lua-fmt, prettier plugin)
 - Markdown (prettier)
 - Nix (nixpkgs-fmt, nixfmt)
 - OCaml (ocp-indent)
 - Perl (perltidy)
 - PHP (prettier plugin)
 - Protocol Buffers (clang-format)
 - PureScript (purty)
 - Python (black, yapf)
 - R (styler)
 - Reason (bsrefmt)
 - ReScript (rescript)
 - Ruby (rubocop, rufo, standardrb)
 - Rust (rustfmt)
 - Scala (scalafmt)
 - Shell script (beautysh, shfmt)
 - Snakemake (snakefmt)
 - Solidity (prettier plugin)
 - SQL (pgformatter, sqlformat)
 - Svelte (prettier plugin)
 - Swift (swiftformat)
 - Terraform (terraform fmt)
 - TOML (prettier plugin)
 - TypeScript/TSX (prettier)
 - V (v fmt)
 - Verilog (iStyle)
 - YAML (prettier)

È necessario installare programmi esterni per fare la formattazione. Se "format-all-buffer" non può trovare il programma giusto, cercherà di spiegare come installarlo.

Molti degli strumenti esterni di formattazione supportano file di configurazione nella directory del codice sorgente per controllare la loro formattazione. Consultare la documentazione di ciascun strumento di formattazione.

Nuovi strumenti esterni di formattazione possono essere aggiunti facilmente se possono leggere il codice dallo standard input e formattarlo sullo standard output. Si può tranquillamente inviare una pull request o chiedere aiuto nelle issue di GitHub.

Other Packages Related to elpa-format-all

  • depends
  • recommends
  • suggests
  • enhances

Download elpa-format-all

Download for all available architectures
Architecture Package Size Installed Size Files
all 23.1 kB101.0 kB [list of files]