In compilation-mode
, how can I make the default py.test output have clickable links to source code (when using py.test's default formatting of tracebacks)?
Does somebody already have appropriate compilation-error-regexp-alist-alist
entries?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityIn compilation-mode
, how can I make the default py.test output have clickable links to source code (when using py.test's default formatting of tracebacks)?
Does somebody already have appropriate compilation-error-regexp-alist-alist
entries?
Running py.test
should automatically do it. Go to any directory or python file, run M-x compile RET py.test RET
, you will get colorized output and traceback with hyperlinks like this.
It is better to use elpy as it provides better integration with test runners.
cmake
and cmake-info
customized into the middle of my compilation-error-regexp-alist
, which breaks that.
Mar 23, 2017 at 22:59