-
Notifications
You must be signed in to change notification settings - Fork 30
haskell-build-backend for cabal (or possibly stack) support, and big code cleanup #91
Conversation
I finally got around to implementing build target selection. I don't really like current interface for it though, but my ideas on improving it are extremely vague. Suggestions are welcome. |
Ok, have updated my branch and will start using it. Not sure that asking for the build target on every call is the right thing to do. I don't know if you think it will be too slow to call into Cabal when we initialize the project, but if we did that, you could show the list of targets alongside the various tabs at the top of the panel? |
There lies a problem: users can and will change cabal file after package is That said, I don't think that targets should be on output panel. If 2015-09-07 13:47 GMT+03:00 Edsko de Vries [email protected]:
|
Conflicts: lib/plugin-manager.coffee
I take it it's not possible to dynamically construct the contents of the menu? As in, when the user requests the "Select build target" menu, at that point read the |
Dynamic construction is only available for context menu for some reason. If
|
Perhaps the current solution would be okay, if the most recently used option would always be at the top. |
Okay, I think I have arrived at something more or less satisfactory with this by separating target selection from build command. This is starting to look somewhat decent. I also added a hack to I'm thinking about releasing this sooner rather than later. Do you think |
Well I'm using this every day with |
Some explaination about using multiple ghc versions in readme might be nice, since that's not an immediately obvious feature, IMO. |
@lierdakil Added some basic docs atom-haskell/ide-haskell-cabal@866f95a |
Okay, fiddled around with css, hopefully last version is better. |
Looks good. |
haskell-build-backend for cabal (or possibly stack) support, and big code cleanup
Merged and released yesterday. Seems to be doing okay for now. |
Request for comments