File: control

package info (click to toggle)
emacs-format-all-the-code 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: lisp: 1,533; sh: 5; makefile: 2
file content (103 lines) | stat: -rw-r--r-- 3,284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Source: emacs-format-all-the-code
Section: editors
Priority: optional
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Uploaders: Roland Mas <lolando@debian.org>
Build-Depends: debhelper-compat (= 13),
 dh-elpa
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/emacsen-team/emacs-format-all-the-code
Vcs-Git: https://salsa.debian.org/emacsen-team/emacs-format-all-the-code.git
Homepage: https://github.com/lassik/emacs-format-all-the-code
Rules-Requires-Root: no

Package: elpa-format-all
Architecture: all
Depends: ${elpa:Depends}, ${misc:Depends}
Recommends: emacs
Enhances: emacs
Description: Auto-format C, C++, JS, Python, Ruby and 50 other languages
 Lets you auto-format source code in many languages using the same
 command for all languages, instead of learning a different Emacs
 package and formatting command for each language.
 .
 Just do M-x format-all-buffer and it will try its best to do the
 right thing.  To auto-format code on save, use the minor mode
 format-all-mode.  Please see the documentation for that function for
 instructions.
 .
 Supported languages:
 .
  - 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)
 .
 You will need to install external programs to do the formatting.  If
 `format-all-buffer` can't find the right program, it will try to tell
 you how to install it.
 .
 Many of the external formatters support configuration files in the
 source code directory to control their formatting.  Please see the
 documentation for each formatter.
 .
 New external formatters can be added easily if they can read code
 from standard input and format it to standard output.  Feel free to
 submit a pull request or ask for help in GitHub issues.