emacs-jest icon indicating copy to clipboard operation
emacs-jest copied to clipboard

Add function jest-load-compilation-errors to fix error links

Open talwrii opened this issue 2 years ago • 0 comments

Links in tracebacks in compile buffer weren't working for me. Fix them.

This provides a function (jest-load-compilation-errors) that modifies the global variables compilation-error-regexp-alist-alist and compilation-error-regexp-alist to support jest links. This would need to be called once in init (possible with use-package) to load.

Note that it's possible that this might cause some conflicts with other modes. The suggested work around for this seems to be the you use dynamic scoping when calling compile but this didn't seem to be the preferred aprhproach.

talwrii avatar Jan 02 '23 01:01 talwrii