apheleia
emacs-format-all-the-code
apheleia | emacs-format-all-the-code | |
---|---|---|
8 | 7 | |
500 | 592 | |
0.6% | - | |
8.3 | 7.4 | |
3 days ago | 3 months ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apheleia
-
setup for python dev?
For black, I can recommend apheleia. It handles not only black but also all the other common formatters (not only for Python), with custom ones being relatively easy to add.
-
Emacs 29 is nigh What can we expect?
1.projectile-kill-buffers or the built-in project-kill-buffers will do that for the current project. You could run that before switching projects.
2. https://github.com/radian-software/apheleia
3. There might be a way to do this but I'm not sure. Emacs being inherently single threaded probably makes this difficult. But yes, I use M-x (re)compile.
4. libvterm is the best still imo. You can definitely do multiple instances and there's even different tab modes in Emacs now.
-
What is your fav IDE (incl AddOns)?
I forgot to mention a third option namely lassik/emacs-format-all-the-code and there are efforts to combine/consolidate the three into a single package which would be great.
-
Looking for emacs package recommendations for code-formatting in emacs?
raxid502/apheleia
-
Is there any package for automatically insert spaces in c++ code?
I use formatters in order to automatically format source code on save. Personally I use apheleia for this. It requires clang-tools installed as it uses clang formatter.
- We should format code on demand
-
JSX return indentation
Generally speaking, emacs does only so much for indenting those mixed mode files, so you might want to use a dedicated JS(X)-formatter (default one would be prettier). I can recommend integrating it using apheleia. It automatically prettifies buffers on save, but without having your cursor jump around like prettier-mode does. It also relies on having the prettier script available (from npm i -g prettier or its likes).
emacs-format-all-the-code
-
[ANN] elisp-autofmt full file re-formatting (on save), available on Melpa
It would be nice to have a comparison with existing packages such as https://github.com/lassik/emacs-format-all-the-code
- What are the kinds of things you've written Emacs Lisp for?
-
What is your fav IDE (incl AddOns)?
I forgot to mention a third option namely lassik/emacs-format-all-the-code and there are efforts to combine/consolidate the three into a single package which would be great.
-
Looking for emacs package recommendations for code-formatting in emacs?
lassik/emacs-format-all-the-code
-
Evil Mode - gq{motion}
I use Doom Emacs, which relies on format-all package for formatting.
-
How can I disable (format +onsave) on specific buffers
Seems like you have a workaround, but fwiw there's some controversy around the doom-emacs format-all implementation and is flagged for rewrite.
-
Indenting TeX files using latexindent.pl?
I just found out this pacakge https://github.com/lassik/emacs-format-all-the-code that supports latexindent.
What are some alternatives?
black - The uncompromising Python code formatter
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
prettier - Prettier is an opinionated code formatter.
latexindent.pl - Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
gumtree - An awesome code differencing tool
org-project - Capture TODOs for project using org-mode
perspective-el - Perspectives for Emacs.
emacs-relocate-docs
My-Neovim-Config
dired-auto-readme - An Emacs package to automatically display a README file when one is present in a dired buffer.
reformatter.el - Define commands which run reformatters on the current Emacs buffer
litex-mode - LiTeX mode for emacs; A minor mode to convert valid lisp expressions to LaTeX