fsprojects / zarchive-fsharpbinding

Archive of F# Language Bindings for Open Editors
Other
308 stars 106 forks source link

Update gallery addin for Xamarin Studio #96

Closed funnelweb closed 11 years ago

funnelweb commented 11 years ago

OK, Xamarin Studio is now out. Let's update the F# binding. I've seen the updates at https://github.com/xamarin/fsharpbinding and the comment from Miguel here https://github.com/xamarin/fsharpbinding/issues/1.

We still use http://addins.monodevelop.com/ to push the addin. We just need to get it in shape at here.

-- ben

saolsen commented 11 years ago

Is there a way to install it now without it being in the addin repository?

7sharp9 commented 11 years ago

@saolsen You can install it by building and installing, I always do that anyway for the cutting edge code :-)

@funnelweb

I have fixed two issues with the Xamarin binding. I'm working on merging their fixes with my local branch. I can see about pushing to issue 96 if you want?

saolsen commented 11 years ago

I can't get it to build, it can't find monodevelop (which I'm guessing is because I have XamarinStudio installed and maybe some path names and stuff changed. Is there any easy way to get this working?

7sharp9 commented 11 years ago

@funnelweb I see you have merged my changes, those extra files must have crept in via the GitHub for mac application. I normally do my commits via the command line, it looks like it did a blanket add .

Are you able to debug at all? I get a jit fail when I try to debug and if I turn on logging I don't seems to get and details when the tooltips normally display.

funnelweb commented 11 years ago

OK, pushed a preliminary version of the binding for MonoDevelop/XamarinStudio 4.0 to the MonoDevelop/XamarinStudio gallery (http://addins.monodevelop.com/Project/Index/48)

See https://github.com/fsharp/fsharpbinding/pull/99/ for the corresponding code updates.

However there are serious bugs in the binding when used with MonoDevelop/XamarinStudio 4.0

7sharp9 commented 11 years ago

TypeProviders might not work either due to the maximum framework version being 4.0

IToolTipPrivider became an abstract class so some investigation into how the C# tooltips interact with this will probably yield a solution for us.

funnelweb commented 11 years ago

Type providers work ok, i just tried the Freebase provider and it was fine. There's no dependence on .NET 4.5

7sharp9 commented 11 years ago

Yeah compiler feature not 4.5.

Hopefully we can get the tooltip intellisense and completion lists in pretty soon.

Are you running in Windows? Can you attach a debugger to Xamarin Studio?

funnelweb commented 11 years ago

I think we should just change the "send-to-interactive" to be Ctrl-Return on Mac. It seems to work fine and it is what http://tryfsharp.org uses. Will send a pull request.

I'm on Mac Haven't yet tried the binding on Windows.