-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi Cradle : No prefixes matched for ./app/devel.hs #1215
Comments
Hi, thanks for the bug report. The cradle is esentially a configuration that maps filepaths with "components" (libs, executables, test suites, etc). The module you want to load with hls has to match one of the prefixes, and You can use an explicit configuration, creating a |
Thank you @jneira !
in hie.yaml and error is missing. Now I get a new one, maybe you know how to solve because they may be related :
|
@milosavljevic94 that hie.yaml would be incomplete, it should list all posible paths with modules in your project
Could you share the code you are trying to load in the ide? |
@jneira, I use this command to make hie file.
and now there are no more errors. Thanks a lot, now I can continue working without errors in VS code. |
great! thanks for reporting the issue |
My environment for develop Haskell/Yesod app : Ubuntu 20.04, VS Code, Haskell plugin and Stack.
Without plugin don't have error, but when plugin is installed error is:
And always get notifications in VS Code :
No cradle found for app/devel.hs.
Proceeding with implicit cradle.
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
If someone can solve, thanks!
The text was updated successfully, but these errors were encountered: