|
FSharpBinding
F# support for Monodevelop
F# support for MonodevelopF# support provided through addin for Monodevelop (2.0 Alpha). You could find new version of Monodevelop in Mono 2.0 Preview Source CodeCheckout source code from repository: svn checkout http://wildart.googlecode.com/svn/trunk/FSharpBinding CompilationThis addin should be compiled in new version of Monodevelop (2.0 Alpha):
InstallationTo install F# support for Monodevelop, copy compiled binary MonoDevelop.FSharpBinding.dll to ~/.config/MonoDevelop/addin Open Monodevelop and go to Edit -> Properties -> Other -> F#. There you could find global setting for F# compiler. You have to setup following options:
Project compilation optionsFor opened project you could change compilation options, such as:
F# project compilationBecause F# compiler has some annoying issue calculating dependencies by providing order of source files during compilation, please add source files to project in order acceptable for compiler. To change source files order in existing project - edit project file manually. Update: New version supports file ordering in project. Use right-click menu on project or project file for:
Syntax HighlightingFile FSharpSyntaxMode.xml contains color scheme for F# syntax. Copy this file to ~/.config/MonoDevelop/syntaxstyles to get syntax highlighting in source editor. Note: Syntax highlighting does not work out-of-box in Mono 2.0 preview release. You need to compile Monodevelop from sources to get it work. |
Sign in to add a comment
Thanks for you work...
Unfortunately, i'm new to monodevelop and i don't manage to build the FSharpbinding solution with Monodevelop : i get 6 errors about "cannot find metadata file... " concerning MonoDevelop?..dll files
I'm using Monodevelop 1.9.1 (2.0 Alpha) as i'm using Mac OS X.
Hi! I am having the same problem that davnul. Only I get 6 "cannot find metadata file" for files supposedly on my home directory and 4 for other files. Sorry but I am really new to MonoDevelop? (and Mono/.Net in general). Any help will be appreciated.
for the MonoDevelop?.Projects.Parser error, modify the three files to reflect this change:
using MonoDevelop?.Projects.Parser; -> using MonoDevelop?.Projects.Dom.Parser;
Another newbie to Mono/MonoDevelop??...
I have "fixed" references, updated the using statements (as per zorglub421's instructions), but now I'm getting the following error:
.../FSharpBinding/Gui/CodeGenerationPanel??.cs(51,47): error CS0030: Cannot convert type MonoDevelop?.Projects.ConfigurationParameters?' to FSharpBinding.FSharpCompilerParameters' .../FSharpBinding/Gui/CompilerOptionsPanelWidget??.cs(44,72): error CS0030: Cannot convert type MonoDevelop?.Projects.ConfigurationParameters?' to FSharpBinding.FSharpCompilerParameters'
I'm using the 2.0 distribution with Ubuntu 9.04
Any help would be appreciated.
Got the same cast issue than the gentleman right above. I'm using monodevelop 2.1 snapshot of around 2009-05-05, the one used to issue the precompiled .DMG for MAC OSX. Mono is release 2.4. Such a pitty. Would like to learn F# on this platform. I'm a GUI frustrated OCaml'ers :-)
Line=51, Column=73, Type=Error, Priority=Normal, Description=Cannot convert type `MonoDevelop.Projects.ConfigurationParameters' to `FSharpBinding.FSharpCompilerParameters'(CS0030)?
There seems no copy constructor from `MonoDevelop?.Projects.ConfigurationParameters?' (public ConfigurationParameters? {get; set;}) to `FSharpBinding.FSharpCompilerParameters'.
In the C# source file CompilerOptionsPanelWidget?.cs, the programmar is likely to cast in two steps.
DotNetProject? project -> DotNetProjectConfiguration?
As my environment is Fedora 11 development, mono 2.4 (new!, not 2.0), and MonoDevelop? 2.0 (not alpha), there might exists a slight language change of C# for mono (gmcs).
Line=51, Column=72, Type=Error, Priority=Normal, Description=Cannot convert type `MonoDevelop.Projects.ConfigurationParameters' to `FSharpBinding.FSharpCompilerParameters'(CS0030)??
Line=44, Column=98, Type=Error, Priority=Normal, Description=Cannot convert type `MonoDevelop.Projects.ConfigurationParameters' to `FSharpBinding.FSharpCompilerParameters'(CS0030)?
Will tell more please dostpney how to fix it?
Thank you for plugin.
I have same question as p.westcott. Can you please provide information how can I fix this problem?