<div dir="ltr"><div dir="ltr">> In emacs while editing PropEr tests, flycheck complains about not being<br>> able to find "proper/include/proper.hrl" which is obvious since that lib<br>> is somewhere sitting in the _build directory and not defined in ERL_LIBS.<br>> How do you guys configure emacs in a situation like this?<br>> PropEr is part of the test profile in rebar3.<div><br></div><div>Would it help?</div><div>(setq flycheck-erlang-include-path (append (file-expand-wildcards (expand-file-name "./ProjectName/??ps")) (file-expand-wildcards (expand-file-name "./ProjectName/??ps/*/include")) (file-expand-wildcards (expand-file-name "./ProjectName/_build/default/lib/*/include")) (file-expand-wildcards (expand-file-name "./ProjectName/_build/default/lib")) flycheck-erlang-include-path))<br></div><div><br></div><div>-- <br>Best,<br></div></div></div>