Overview of built-ins features and packages to Compile stuff within Emacs.
M-x compile and compilation-mode
Built-in. The compilation mode allows to navigate around errors and files paths. Indeed, it highlights them and makes them clickable.
Some keybindings: (for the full help, see C-h f compilation-mode RET)
- C-c TAB or C-c ` (backquote) to go to the next error. There's also
previous-errorwith C-c backtab.
- C-c C-f
next-error-follow-minor-modewill automatically open the source file when you navigate around errors.
- click or type RET on an error to go the file on the specific line.