This weekend I found myself doing some heavy-weight refactoring in CIDER. This
is the kind of situation where Flycheck helps a lot, but I still needed it to do
a bit more. Every time I made a significant change to a file, I had to visit 3
or 5 other files and trigger Flycheck on each one of them. It wasn’t long before
I decide there had to be a way to just Flycheck a whole directory.
Enter endless/flycheck-dir. This command runs Flycheck on all files in the
current directory and reports the result to the *Compile-Log* buffer. You can
then navigate through all issues for the entire directory by TAB-ing through
the buffer or using next-error.
Flycheck a directory and report the results
21 Sep 2015, by Artur Malabarba.This weekend I found myself doing some heavy-weight refactoring in CIDER. This is the kind of situation where Flycheck helps a lot, but I still needed it to do a bit more. Every time I made a significant change to a file, I had to visit 3 or 5 other files and trigger Flycheck on each one of them. It wasn’t long before I decide there had to be a way to just Flycheck a whole directory.
Enter
endless/flycheck-dir
. This command runs Flycheck on all files in the current directory and reports the result to the*Compile-Log*
buffer. You can then navigate through all issues for the entire directory by TAB-ing through the buffer or usingnext-error
.Tags: programming, flycheck, init.el, emacs,
Predicting the future with M-n »
« Improving page (section) navigation
Related Posts
Turbo up your Ruby console in Emacs in programming
A few paredit keys that take over the world in programming
Restarting the compilation buffer in comint-mode in programming
Content © 2019, All rights reserved. Icons under CC3.0.