faq icon indicating copy to clipboard operation
faq copied to clipboard

How do you go automatically to problem line from compiler error?

Open buttke opened this issue 1 year ago • 2 comments

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??!

buttke avatar Nov 30 '23 00:11 buttke

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)

tonitch avatar Nov 30 '23 14:11 tonitch

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.

c4llv07e avatar May 12 '24 07:05 c4llv07e