faq
faq copied to clipboard
How do you go automatically to problem line from compiler error?
I.E. https://www.youtube.com/watch?v=4vSyqK3SK-0&t=1020
You select line in compiler output and go directly to that line in the correct file. How works??!
I don't know about emacs but in vim it's pretty much default (and you can add support for esotheric compiler pretty easily) (check :h compiler)
Emacs has a built-in compile-mode
that has global keybinds M-g M-n
and M-g M-p
to jump to the next and previous error, respectively. This way, when you have compiled your code using M-x compile
, you can jump to any bugs in the project.
Or you can just click or press enter on it, it will work too.