From: jason b. <jb...@ao...> - 2004-12-13 20:47:32
|
First off I'd like to say thanks for putting this together. I'm new to Haskell and I this is just what I was looking for in an IDE (probably because I use eclipse for my java development as well) I noticed a couple of things. 1) When I changed the targetBinary name value in the .hsproject file it didn't change the name of the output binary until I had restarted the IDE. 2) I created a multiple level file structure under teh default src folder so that I could create a hierarchal structure, I right clicked on the last folder and selected new -> Haskell Module. It bought up the "New Haskell Module" dialog. It had the source folder filled out correctly but the folder field was filled out incorrectly (and automatically) with a localized directory separator rather then a '.' changed everything to periods and then it told me I had an "invalid qualifier" no matter what I did. I went to take a look at the source code to see if I could provide a patch or two and I couldn't find anything in cvs for haskell - just for ocaml. Am I looking in the right place? thanks Jason |
From: Leif F. <hi...@le...> - 2004-12-13 23:33:12
|
Hi Jason, welcome to the list and thanks for your observations :-) > First off I'd like to say thanks for putting this together. I'm new to > Haskell and I this is just what I was looking for in an IDE (probably > because I use eclipse for my java development as well) > > I noticed a couple of things. > > 1) When I changed the targetBinary name value in the .hsproject file it > didn't change the name of the output binary until I had restarted the > IDE. Yupp, there is not yet a listener mechanism that lets you change the settings directly. Users should be able to change this on the project's property page, the HsProject in in the ProjectModelManager would be updated, and the compiler and all other tools would use the new project name. (The .hsproject file is only for persisting the settings between user sessions.) The same applies to changes in the source path etc. But that's all not yet in place ... > 2) I created a multiple level file structure under teh default src > folder so that I could create a hierarchal structure, I right clicked on > the last folder and selected new -> Haskell Module. It bought up the > "New Haskell Module" dialog. It had the source folder filled out > correctly but the folder field was filled out incorrectly (and > automatically) with a localized directory separator rather then a '.' > changed everything to periods and then it told me I had an "invalid > qualifier" no matter what I did. Hm, it works for me. (Admittedly, it would be better to replace the slashs by dots already in the wizard initialization, so that the users hasn't to do it manually; must be done in the Browse-button's logic too.) Qualifiers, and therefore folders in the source folder, must start with an uppercase letter. Maybe that was why you got an 'invalid qualifier'? If not, could you post the exact path you tried? > I went to take a look at the source code to see if I could provide a > patch or two and I couldn't find anything in cvs for haskell - just for > ocaml. Am I looking in the right place? The sources for the Haskell plugins are included in the software only. They are contained in the *.source plugins, if you want to browse them directly. You can import plugins into your workspace as source projects (Import > External projects). That way, you can work with them like with other Eclipse projects. Thanks && ciao, Leif > > thanks > > Jason |