emacs-format-all-the-code
emacs-format-all-the-code copied to clipboard
Auto-format source code in many languages with one command
`emacs -q` and mini configuration as below ``` (add-to-list 'load-path "~/.emacs.d/packages/format-all/") (add-to-list 'load-path "~/.emacs.d/packages/inheritenv") (add-to-list 'load-path "~/.emacs.d/packages/language-id") (require 'format-all) (add-hook 'prog-mode-hook 'format-all-mode) (add-hook 'format-all-mode-hook 'format-all-ensure-formatter) ``` open a file such...
https://github.com/lassik/emacs-format-all-the-code/issues/198 Hi, current this PR still not work, when i try to run `format-all-buffer` in one mint buffer, i get error like this: ``` Unhandled exception: Error opening file with...
https://mint-lang.com/guide/getting-started/tools Following is a usage example: ```sh ╰─ $ 1 mint format source/Main.mint Mint - Formatting files ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ All files are formatted! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ All done in 299μs! ``` Thank you.
I'm currently running into an issue with prettier formatting the package.json using the `json5` parser, while Emacs formats it with the `json` parser. The CLI arguments take precedence over the...
When I save a buffer, the buffer will be automatically formatted by this package, but it takes around 1s to finish the formatting process, I have to wait for it...
I've got forma-all working really well. Thank you for a great package! I'm a bit of a noob, and I can't figure out how to set format-all-formatters in .dir-locals. Can...
I've installed jsonnnetfmt such that `which jsonnetfmt` gives the location for the binary. I then opened a foo.json file and did: `M-x format-all-buffer` at which point, I get the prompt:...
It just occurred to me that there is no auto-formatter for Makefiles. Does anybody here know of one?
If you do: ``` (setq format-all-formatters '(("HTML" no-such-formatter))) ``` and then run `M-x format-all-buffer`, you get the confusing error: ``` Debugger entered--Lisp error: (void-function nil) nil(nil "HTML" nil) funcall(nil nil...
``` $ yapf --help ... -l START-END, --lines START-END range of lines to reformat, one-based ... ```