- Emacs Lisp 100%
| screenshots | chore: Bump package version to 0.0.27 | |
| blue-complete.el | feat: Make 'pcomplete/blue' async. | |
| blue-replay.el | refactor: Adjust BLUE invocations to allow metacomands | |
| blue-run.el | fix: Incorrect handling of `default-directory' in compilation buffers | |
| blue-transient.el | fix(transient): Incorrect retrieval of prefix options | |
| blue.el | feat: Setup keybindings and search paths when a BLUE compilation starts | |
| LICENSE | Initial commit | |
| README.org | chore: Bump package version to 0.0.23 | |
blue.el — BLUE build system interface for Emacs
This package provides an Emacs native completion interface for the BLUE build system. The completion interface relies on completing read and completion at point. This means that it should work out of the box with native and modern completion packages such as vertico and corfu.
Features:
- Command grouping by category.
- Completion of built-in and user defined commands.
- Completion of command arguments through completion at point.
- Chaining of commands through completing-read-multiple.
- Integration with project.el to enable configuration cache persistence.
- Naming of compilation buffer according to run command.
- Auto enable comint mode in the compilation buffers that involve a command that
requires interactive usage, such as the
replcommand.
Screenshots
- Run command:
/lapislazuli/blue.el/media/branch/main/screenshots/blue-run-command.png
- Transient menu:
/lapislazuli/blue.el/media/branch/main/screenshots/blue-transient.png
- Replay:
/lapislazuli/blue.el/media/branch/main/screenshots/blue-replay.png
Installation
This package is available on MELPA!
Add this to your configuration file to install it from source:
(use-package blue
:init
;; Enable custom filters to handle different escape sequences in compilation
;; and comint buffers.
(blue-prettify-compilation-mode 1))
Usage
A detailed usage of any of the following commands can be displayed through M-x
describe-function RET blue-run-command.
Run command
Execute M-x blue-run-command in a BLUE project.
You will be prompted by a command, in this minibuffer you can chain commands
through the -- separator, after inserting a space the completion will update
for the next commands. Additionally, some BLUE commands accept arguments, you
can add them in this prompt, completion at point is configured in the minibuffer
meaning that you can use complete-symbol, generally bound to C-M-i to
complete the arguments, you can complete BLUE options such as --always-build
or command arguments such as --prefix=.
Transient
If you prefer a transient menu, this package provides M-x blue-transient.
Replay
Additionally, this package provides an interactive interface for the BLUE replay
command. Display it with M-x blue-replay.