<div dir="ltr"><div>I'm trying to get HLS set up with a stack project on VS Code. I'm getting messages like this:</div><div><br></div><div>Could not load module ‘Control.Monad.Except’<br>It is a member of the hidden package ‘mtl-2.2.2’.<br>You can run ‘:set -package mtl’ to expose it.<br>(Note: this unloads all the modules in the current scope.)</div><div><br></div><div>But these are in the "Problems" tab of VS Code (and show as red underlines).</div><div><br></div><div>When I run stack clean, stack build I don't see any error like this at all. <br></div><div><br></div><div>And yes, I made sure mtl was added everywhere in cac.cabal. (I'm using cac.cabal not stack.yaml... is that my problem?)</div><div><br></div><div>I tried stack clean; stack build; restart HLS several times.</div><div><br></div><div><br></div></div>