Midje checkers (e.g. n-of
, has
, match
from matcher-combinators) cannot be resolved when using Cursive because they are declared using the defchecker
macro.
To make Cursive able to resolve these references as valid symbols, follow these steps:
- Download the
defchecker.xml
file somewhere in your machine - In Cursive (IntelliJ) Preferences pane, navigate to Languages & Frameworks > Clojure > Symbol Resolution
- Click the cog icon, select Import Scheme... and choose the file you downloaded.
- Click Apply. Note: all open projects will be refreshed and re-indexed, so go get a coffee β