Emacs
Direnv support
It is recommended to set up a direnv integration, so you can transparently access programs provided from the development shell.
While there is no built-in direnv integration as of Emacs 30, there are a few
third-party packages for that. One option is
envrc-mode by Steve Purcell, which you can
install as envrc
from MELPA.
Other recommendations
These recommendations are not specific to Nix but are suggested to make you feel productive when working with modern software development projects.
LSP clients
- eglot (built-in)
- lsp-mode
Also, lsp-booster is recommended for users of both lsp-mode and eglot.
See a corresponding awesome-emacs section for other options.
Formatters
Compile frontend
See awesome-emacs.
How to maintain project-specific settings
Emacs provides a way to keep per-project configuration that is .dir-locals.el
.
It is also possible to apply common settings to a set of directories using
dir-locals-set-class-variables
and dir-locals-set-directory-class
.
See the Emacs Manual for details.