tag:blogger.com,1999:blog-37404288.post5532463649330559560..comments2023-11-02T14:40:18.756+01:00Comments on JP Moresmau's Programming Blog: EclipseFP 1.111 releasedJP Moresmauhttp://www.blogger.com/profile/09964251063221757176noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-37404288.post-73013689061565277542010-09-29T21:52:45.700+02:002010-09-29T21:52:45.700+02:00OK, good. You'll be glad to know that that fla...OK, good. You'll be glad to know that that flag is enabled at the package level in the next version, so you shouldn't run into that issue when the new version comes out.JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-90502715776584035942010-09-29T21:16:55.735+02:002010-09-29T21:16:55.735+02:00Solved, it compiled fine, and things seem to be wo...Solved, it compiled fine, and things seem to be working.<br />Thanks !Léonardhttps://www.blogger.com/profile/17032246855838572566noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-52851851507723104692010-09-29T21:15:56.214+02:002010-09-29T21:15:56.214+02:00This comment has been removed by the author.Léonardhttps://www.blogger.com/profile/17032246855838572566noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-2610088213302246992010-09-29T20:44:20.739+02:002010-09-29T20:44:20.739+02:00Léonard: I have only 6.12.1 and it compiles, and a...Léonard: I have only 6.12.1 and it compiles, and another developer is on Mac OS and didn't report this error. Maybe 6.12.3 specific? I'm going to release a new version very soon (as in end of this week), so I can maybe slip into it adding the DeriveDataTypeable to that file. Try it: add DeriveDataTypeable in the LANGUAGE pragma in Inspect.hs and try to compile again.JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-67875984010063617572010-09-29T19:00:04.293+02:002010-09-29T19:00:04.293+02:00I've installed the needed dependencies manuall...I've installed the needed dependencies manually with cabal since I had this error output :<br />"<br />Resolving dependencies...<br />Configuring scion-0.1.0.3...<br />cabal: At least the following dependencies are missing:<br />binary ==0.5.*,<br />ghc-paths ==0.1.*,<br />ghc-syb -any,<br />ghc-syb-utils -any,<br />hslogger ==1.0.*,<br />json ==0.4.*,<br />list-tries -any,<br />multiset >=0.1 && <0.3,<br />uniplate -any<br />"<br /><br />Now it tries to compile scion, but fail :<br />"<br />Resolving dependencies...<br />Configuring scion-0.1.0.3...<br />Preprocessing library scion-0.1.0.3...<br />Preprocessing executables for scion-0.1.0.3...<br />Building scion-0.1.0.3...<br />[ 1 of 14] Compiling Scion.Ghc ( lib/Scion/Ghc.hs, dist/build/Scion/Ghc.o )<br />[ 2 of 14] Compiling Scion.Types.ExtraInstances ( lib/Scion/Types/ExtraInstances.hs, dist/build/Scion/Types/ExtraInstances.o )<br />[ 3 of 14] Compiling Scion.Types.Notes ( lib/Scion/Types/Notes.hs, dist/build/Scion/Types/Notes.o )<br />[ 4 of 14] Compiling Scion.Types.Outline ( lib/Scion/Types/Outline.hs, dist/build/Scion/Types/Outline.o )<br />[ 5 of 14] Compiling Scion.Types ( lib/Scion/Types.hs, dist/build/Scion/Types.o )<br />[ 6 of 14] Compiling Scion.Utils ( lib/Scion/Utils.hs, dist/build/Scion/Utils.o )<br />[ 7 of 14] Compiling Scion.Inspect.Find ( lib/Scion/Inspect/Find.hs, dist/build/Scion/Inspect/Find.o )<br /><br />lib/Scion/Inspect/Find.hs:350:8:<br /> Warning: Pattern match(es) are non-exhaustive<br /> In a case alternative:<br /> Patterns not matched: RecStmt _ _ _ _ _ _ _ _<br />[ 8 of 14] Compiling Scion.Inspect.TypeOf ( lib/Scion/Inspect/TypeOf.hs, dist/build/Scion/Inspect/TypeOf.o )<br /><br />lib/Scion/Inspect/TypeOf.hs:31:4:<br /> Warning: Pattern match(es) are non-exhaustive<br /> In the definition of `unwrap': Patterns not matched: WpInline _<br />[ 9 of 14] Compiling Scion.Inspect ( lib/Scion/Inspect.hs, dist/build/Scion/Inspect.o )<br /><br />lib/Scion/Inspect.hs:230:0:<br /> Can't make a derived instance of `Typeable Token':<br /> You need -XDeriveDataTypeable to derive an instance for this class<br /> In the stand-alone deriving instance for `Typeable Token'<br /><br />lib/Scion/Inspect.hs:231:0:<br /> Can't make a derived instance of `Data Token':<br /> You need -XDeriveDataTypeable to derive an instance for this class<br /> In the stand-alone deriving instance for `Data Token'<br />"<br />Any advice ? I'm in macosX 10.6.4, ghc 6.12.3.Léonardhttps://www.blogger.com/profile/17032246855838572566noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-56748838242121793252010-07-15T15:24:40.128+02:002010-07-15T15:24:40.128+02:00Maybe a bump comment would be good. There are load...Maybe a bump comment would be good. There are loads of things in the bug tracker, with some that relate to old versions of eclipsefp, so it'd be good if people thought some were still current so I can tackle them.JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-56116983092834559382010-07-13T14:20:41.651+02:002010-07-13T14:20:41.651+02:00There are some old reports like: wrong syntax colo...There are some old reports like: <a href="https://sourceforge.net/tracker/?func=detail&aid=1924453&group_id=108233&atid=1000719" rel="nofollow">wrong syntax coloring for single single-quote</a>. Should I repost them anyway or post a "bump" comment or something in the old one?lambdorhttps://www.blogger.com/profile/00828787165931338102noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-12353840938143137332010-07-12T20:21:57.774+02:002010-07-12T20:21:57.774+02:00Thanks for the feedback everybody!! Hopefully in t...Thanks for the feedback everybody!! Hopefully in the next couple of months there will be a new release of EclipseFP!<br />Gamik, the sourceforge site for Eclipsefp (http://sourceforge.net/projects/eclipsefp/) has a bug traker and a forum, so it's the best place to leave bug reports and feature requests. I'll look at your issues, I knew about the single quote throwing syntax highlighting off but I haven't dared to dive into the Haskell parser side of things yet... Of course if you have more details on the issues (steps to reproduce, etc) please enter them into Sourceforge.JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-85714793091696557192010-07-12T12:54:23.067+02:002010-07-12T12:54:23.067+02:00> There aren't too many feature enhancement...> There aren't too many feature enhancements because I didn't get any requests for it.<br /><br />Tab width setting. I set the tab width to 4 spaces in the general editor settings, but EclipseFP seems to ignore it.<br /><br />At Run -> compiler selection menu, a checkbox with "Remember selection and don't ask anymore".<br /><br />Syntax highlighting gets confused with ' character when using valid variable names like: let d' = 10Unknownhttps://www.blogger.com/profile/03210696780237107692noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-29126665887886581042010-07-11T22:08:39.775+02:002010-07-11T22:08:39.775+02:00Just want to let you know that I do use EclipseFP ...Just want to let you know that I do use EclipseFP and I like it very much!<br /><br />I've broadcast your call for feature requests on my <a href="http://lambdor.net/?p=151" rel="nofollow">blog</a>. Is there any preferred place you want to feature requests to go to? It appears there is no "issues" tab on <a href="http://github.com/JPMoresmau/eclipsefp" rel="nofollow">github</a> which I assume to be the up-to-date version tracking of EclipseFP.Unknownhttps://www.blogger.com/profile/03210696780237107692noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-18457099816920280772010-07-10T13:02:31.129+02:002010-07-10T13:02:31.129+02:00There aren't too many feature enhancements bec...<i>There aren't too many feature enhancements because I didn't get any requests for it. I'm not too sure a lot of people are using EclipseFP and are interested in seeing it improved. I suppose now with a Cabalized gtk2hs Leksah becomes more attractive. Anyway, if you have requests for EclipseFP let me know!</i><br /><br /><br />Last period I did no Haskell development. Earlier I used the old eclipsefp plugins, which were a nightmare.<br />I followed this project and I am very happy and gratefull some talented people like you dedicate their time to it. <br />Leksah looks nice, but as soon as you need to do cross-developing with javascript for example the eclipse ecosystem is way more richer than any custom single-minded program.<br /><br />As a fan of this project I would like to encourage you to pursue this undertaking.Unknownhttps://www.blogger.com/profile/06365176643689262175noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-66809335523338598182010-06-14T12:26:19.029+02:002010-06-14T12:26:19.029+02:00This comment has been removed by the author.IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-14108578464205613792010-06-09T21:06:00.854+02:002010-06-09T21:06:00.854+02:00Sorry, different comment page show your line numbe...Sorry, different comment page show your line number...JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-81031014206155902932010-06-09T17:09:51.584+02:002010-06-09T17:09:51.584+02:00Er, your stack trace is truncated (no line number)...Er, your stack trace is truncated (no line number). I think there are two problems:<br />- I was convinced cabal configure would download dependencies. It obviously doesn't. I was sure I tested it. Damn.<br />- The null pointer exception means it doesn't find the scion-server executable. It should be in .metadata/.plugins/net.sf.eclipsefp.haskell.scion.client/scion-0.1.0.3/dist/build/scion-server.<br />It needs a better error message.<br /><br />Sorry folks for all these issues. I need you all to email me your log files or attach them to messages on the sourceforge forum or something, so I can really understand what's going on.JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-47577226140152168102010-06-09T15:01:19.735+02:002010-06-09T15:01:19.735+02:00There doesn't seem to be any output in the con...There doesn't seem to be any output in the console related to the scion-server. Under the errors tab:<br /><br />eclipse.buildId=M20100211-1343<br />java.version=1.6.0_20<br />java.vendor=Sun Microsystems Inc.<br />BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB<br />Command-line arguments: -os win32 -ws win32 -arch x86<br /><br /><br />Error<br />Wed Jun 09 13:17:13 CEST 2010<br />Configure failed for scion server source. Output was:Resolving dependencies...<br />Configuring scion-0.1.0.3...<br />cabal.exe: At least the following dependencies are missing:<br />binary ==0.5.*,<br />ghc-paths ==0.1.*,<br />ghc-syb -any,<br />ghc-syb-utils -any,<br />hslogger ==1.0.*,<br />list-tries -any,<br />multiset >=0.1 && <0.3,<br />uniplate -any<br /><br /><br />Now I simply downloaded the newest Haskell Platform (after uninstalling the previous one) and installed it. Then I installed EclipseFP in a freshly downloaded version of Eclipse Classic. So I thought, are any of the above libraries not part of the platform perhaps? I checked using cabal list and found that none of them are actually installed. I guess this is not allowing scion to be created... <br /><br />I tried installing them manually. I got two infos: Configure Succeeded and Build Succeeded. However I still got the following error:<br /><br />eclipse.buildId=M20100211-1343<br />java.version=1.6.0_20<br />java.vendor=Sun Microsystems Inc.<br />BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB<br />Command-line arguments: -os win32 -ws win32 -arch x86<br /><br /><br />Error<br />Wed Jun 09 14:58:01 CEST 2010<br />The Scion server could not be started.<br /><br />The Scion server could not be started.<br />at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.startServerProcess(ScionServer.java:163)<br />at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.startServer(ScionServer.java:85)<br />at net.sf.eclipsefp.haskell.scion.client.ScionInstance.start(ScionInstance.java:94)<br />at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:207)<br />at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:138)<br />at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br />Caused by: java.lang.NullPointerException<br />at java.lang.ProcessBuilder.start(Unknown Source)<br />at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.startServerProcess(ScionServer.java:161)<br />... 5 more<br /><br />Hope that helps...IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-39356656086767781742010-06-09T13:23:19.962+02:002010-06-09T13:23:19.962+02:00This comment has been removed by the author.IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-60076179559527453502010-06-09T11:48:39.838+02:002010-06-09T11:48:39.838+02:00Send me the eclipse log file (workspace/.metadata/...Send me the eclipse log file (workspace/.metadata/.log) and look yourself in the Eclipse Error Log view for any errors, and in the console view for the scion output. You can send me screenshots as well, but logs are better (-:JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-83736079051976970792010-06-09T11:06:14.729+02:002010-06-09T11:06:14.729+02:00I tried with a fresh installation using the latest...I tried with a fresh installation using the latest Eclipse (Classic). Some of the features were not available, like function folding or viewing the outline, while others such as viewing the available GHC packages and commenting lines of code were. I decided to try with the <br />Eclipse IDE for Java EE Developers just in case. Same result. I can send you an image of what I can see if you want.<br /><br />Also:<br />- I am running Windows Vista right now.<br />- http://eclipsefp.sourceforge.net/updates/ seems to be down =(IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-51854734770546803662010-06-08T21:24:58.322+02:002010-06-08T21:24:58.322+02:00Hmmm I haven't managed to make that feature w...Hmmm I haven't managed to make that feature work yet! I think that it might not be showing up for me. Also, probably this and pavel's issues can be resolved by refreshing completely the eclipse installation (= redownload and reinstall eclipsefp). It seems that updating could be going wrong or that eclipse is holding on to some files between updates. I will give this solution a shot later and let you know.<br /><br />As for the SVN thing, ignore it for now. I think that its due to a failing from my part or it's possibly linked to the problems above.IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-70172463041854603162010-06-08T18:01:55.441+02:002010-06-08T18:01:55.441+02:00Thanks.
While Leksah looks promising, it is hardl...Thanks.<br /><br />While Leksah looks promising, it is hardly usable for now, especially intellisense. GUI needs polishing as well.<br />So, please keep up good work. We need more alternatives for Haskell development.<br /><br />Zurazurahttps://www.blogger.com/profile/13339075243822346994noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-18429468749441682222010-06-08T17:05:16.582+02:002010-06-08T17:05:16.582+02:00Andrew, there is already code folding available. Y...Andrew, there is already code folding available. You should be able to collapse a top level function into one line by clicking on the minus sign in the left hand side column of the editor.<br />For SVN, I don't really understand what you mean. Is it that EclipseFP doesn't realize that a file has changed if it hasn't been changed in the Haskell Editor? Then it would be linked to Pavel's issue about happy modified files.<br />Pavel, I'm really sorry to hear about your issues, as I said I'm the only tester of EclipseFP before releasing. What exactly happens when you say that scion stops and restart? <br />About the other two issues, it sometimes happens maybe that something in Scion loses track of some files, and tells you a file is not part of the project when it is. If you have steps to always reproduce the issue. Otherwise touch the cabal file, that will cause a full configure.<br />If an external process modifies a file, you have to do a refresh of the project in Eclipse so that Eclipse can reload the contents. If you give me more details (log file) I can maybe do that automagically in the code... Maybe for all your issues you could email me your log file and/or a sample project exhibiting the issue (jpmoresmau at gmail.com). Which is funny is that there isn't many changes in 1.111 compared to 1.110, so I can't really explain why things that worked suddenly stopped...JP Moresmauhttps://www.blogger.com/profile/09964251063221757176noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-34520334255295581512010-06-08T16:44:07.918+02:002010-06-08T16:44:07.918+02:00Two of the most annoying problems in FP 1.111:
1)...Two of the most annoying problems in FP 1.111:<br /><br />1) attempting to use module `Name' (src\\Name.hs) which is not loaded"<br /><br />but Name.hs is part of the project and loaded<br /><br />2) Could not process resource changes in the Haskell language model.Project: projectName<br /><br />org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/projectName/src/FileName.hs'.<br /><br />This file has just been modified by an external program (Happy)<br /><br />--------<br /><br />They were not present in FP 1.110Unknownhttps://www.blogger.com/profile/06910274979303044606noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-87851663358374858132010-06-08T14:59:38.613+02:002010-06-08T14:59:38.613+02:00Unfortunately my experience with FP 1.111 in not p...Unfortunately my experience with FP 1.111 in not positive so far. The scion server sometimes crashes and restarts, but even worse the plugin does not works as expected (error are not shown in the source code, IDs of messages are interleaved,etc), just to mention a few problems.<br />Cfg: WinXP/SP3,Eclipse 3.5,GHC 6.12.1<br /><br />I reversed to FP 1.110, but I needed to downgrade to CHC 6.10.4 too, and the plugin still does not works well. Maybe there is something mixed-up in my configuration.Unknownhttps://www.blogger.com/profile/06910274979303044606noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-33761556214356190772010-06-08T14:26:29.917+02:002010-06-08T14:26:29.917+02:00This comment has been removed by a blog administrator.彥安彥安https://www.blogger.com/profile/04982958723106928650noreply@blogger.comtag:blogger.com,1999:blog-37404288.post-91544524179917778592010-06-08T14:11:41.380+02:002010-06-08T14:11:41.380+02:00Works like a charm. Including the scion-server as ...Works like a charm. Including the scion-server as part of the distribution is a very good call as it simplifies use considerably. Some suggestions:<br /><br />- Refactoring as pavel suggested<br />- Function folding. I know functions are not supposed to be large in haskell (usually it means something is wrong) but it helps sometimes during coding to be able to hide finished functions away etc etc =)<br />- the last suggestion is I guess way in the future: I use eclipse with an svn server plugin, so my project moves around with me, I am not sure about this but I think that sometimes this affects eclipsefp's ability to compile the project since the data in the project info must be updated with the new location... is it possible to refresh the project details somehow without having to do this manually? I might have misunderstood something so please ignore this suggestion if it makes no sense at all.<br /><br />Keep up the good good work. =)IdentitySearchhttps://www.blogger.com/profile/10824529334197237842noreply@blogger.com