build of project is not done #204
Comments
I, for one, have projects that are built with
Target selection parses cabalfile, so that's a problem if there is none. Please note that target selection is not superproject-aware. Currently recommended way of dealing with superprojects is to open each sub-project with File → Add Project Folder, if you need full control over build targets. If you don't The error is fixed in ide-haskell v1.9.5. Thanks for letting me know.
Command is There is no support for Atom-Build integration at the moment. |
thank you for your careful answer! i will try Auto:All as build target (just loaded the new ide-haskell 1.9.5 - thank you for the fix). what would be the syntax if repeatedly build the one of the subprojects? thank you for a great tool! |
i use the test-stack-multiproject (
https://github.com/lierdakil/test-stack-multiproject.git
) setup to experiment and reconstruct problems i observe:checking a module when saving is promptly done (and usually without a ghc-mod crash), but changes in other modules are not used.
for example: change in
LibA.hs
the type ofthirdFunc
toString -> IO ()
. save. there is no indication thatMain.hs
in a is now wrong. FixMain.hs
by adding the now missing argument. result: wrong error message (because the change in a is not seen).i do not see how to run build from within atom.
build project
seems not to do anything in this setup.the build target seems to depend on the file which has the focus. Correct? if yes, then it is very subtle. if i try to set the target manualy, i.e. typing a into the field
set build target
i getUncaught TypeError: string.indexOf is not a function
.using
stack build
in the project dir does of course build the project, despite the error message when savingMain.hs
.can you reproduce this behavior? i would suggest that the target can be selected by typing the package name.
i also found that the need to select the mode of buidling (stack/cabal/none) with a not very prominent button is confusing - why not include it in the ghc-mod settings. i do not expect that users change this very often.
in general, it works, but i hope you can further improve it!
The text was updated successfully, but these errors were encountered: