Live data from Hacker News

Ionide – F# Dev Tools for the Atom Editor

ionide.io

21–29 of 29 posts

Re: Ionide – F# Dev Tools for the Atom Editor

#21

This looks awesome! I've been meaning to checkout F# (I come from an OCaml background), and I think I've now found my gateway... Cheers,

I started out with OCaml too, it's a really easy transition into F#. You can basically cut and paste OCaml code into F#, unless it involves stuff like Functors, first class modules, and polymorphic variants.

Active Patterns are a pretty cool F# feature that OCaml doesn't have. You can do something that's effectively the same with OCaml macros, but those are a lot more tedious.

The F# intellisense and code completion are great productivity enhancers, especially when it comes to working with unfamiliar libraries.

My biggest hurdle in transitioning from OCaml to F# was learning my way around the .Net ecosystem, so it was still a relatively minor one.

If you decide to get into F# and have any questions about it someone on the #fsharp channel on the Functional Programming Slack[1] usually has an answer.

[1] http://fpchat.com/ <- sign up here, invites usually arrive within 24hrs

Re: Ionide – F# Dev Tools for the Atom Editor

#22
post #19

Just want to let You all that I'm an author of most stuff ( but of course we have also some cool contributors!) so if You have any questions feel free to ask them here.

This is really awesome! How are you finding Funscript? Last I tried to look at it following the tutorials to get started was not a smooth process due to being out of date. It's also, unfortunately, not a terrible active project :|

FunScript is in the middle of a restructuring/reorganization process[1]. Hopefully FunScript will find its legs and start moving forward sometime soon.

Intellifactory's Websharper projects are well supported and regularly updated, you could try Websharper.Warp[2] in lieu of FunScript.

[1] https://github.com/ZachBray/FunScript/issues/185

[2] https://github.com/intellifactory/websharper.warp

Re: Ionide – F# Dev Tools for the Atom Editor

#23
post #19

Just want to let You all that I'm an author of most stuff ( but of course we have also some cool contributors!) so if You have any questions feel free to ask them here.

This is really awesome! How are you finding Funscript? Last I tried to look at it following the tutorials to get started was not a smooth process due to being out of date. It's also, unfortunately, not a terrible active project :|

FunScript for sure is not perfect and have many rough edges - getting started as new user is hard, getting started with different type of project even as experienced user is not perfect (for example Atom plugin requires completely different approach than normal web application), it has problems with "OO" features of JS so using it with frameworks which requires such approach is bit hacky, generated code is not perfect.

But i still like it and managed to create fancy stuff with it - Ionide, React.js + Material UI applications etc. Wouldn't recommend using it on production ( unless You want to commit really hard into FunScript project and probably fix lot of this stuff) - WebSharper is providing more complete, richer solution and commercial support if needed

Re: Ionide – F# Dev Tools for the Atom Editor

#24

Earlier quoted context omitted.

Omnisharp[1] is build on top of Roslyn so as for now it supports only C# / VB. As far as I know they are working on adding plugin support for it for non-Roslyn language so maybe in the future we will have F# plugin there ( actually, as far as I know, that's MSFT plan for adding F# support in VS Code) F# has had opensourced compiler[2] (written in F#) before it was cool in .Net stack and for most tooling things we are…

> Omnisharp[1] is build on top of Roslyn so as for now it supports only C# / VB That is fairly new code. It was based on NRefactory in the past which I thought was reflection-based, but I may have been wrong.

> for now it supports only C# / VB Nope, there is not any support for VB at this point in time. It's C# only I'm afraid!

As cloudroutine mentions, the older omnisharp-server implementation is NRefactory based, whilst omnisharp-roslyn (as the name implies) has been built atop roslyn.

omnisharp-roslyn retains a bit of NRefactory (the code actions part[1]), which was called NR6Pack and has now been renamed as Refactoring Essentials [2].

Anyway, there's been a lot of recent changes in the works, as someone has already mentioned, omnisharp-rolsyn currently has an open PR [3] which will provide a plugin system to omnisharp-roslyn. Once introduced, it will mean that the various omnisharp editors/clients can pick and choose which plugins they wish to bundle with their editor. This may include F#, VB, Cake, Fake and many others.

New contributors are, as always most welcome :)

---

[1] https://github.com/OmniSharp/omnisharp-roslyn/blob/f62e74324...

[2] http://vsrefactoringessentials.com

[3] https://github.com/OmniSharp/omnisharp-roslyn/pull/293

Re: Ionide – F# Dev Tools for the Atom Editor

#25
post #7

Will this work with VS Code? If not now, in the future?

VS Code does not currently support extensions/plugins. The team has confirmed they're coming at some point[1] but we'll need to see how they set it up to determine the best approach to building an F# plugin for it. Ionide definitely won't be compatible out the gate, but if the API isn't too different we might be able to reuse some of what we've already done. The best case scenario would be the if plugin system suppor…

Understood. Thanks! Nice work.

Re: Ionide – F# Dev Tools for the Atom Editor

#26

Either I'm missing something or this doesn't support Windows, because installing the package did absolutely nothing on my machine.

Could you try updating the `ionide-installer` plugin? We had some minor issues over the past 30 mins[1] but they should be resolved now. We definitely support Windows, I'm running it on Windows 10 right now ;) [1] https://github.com/ionide/ionide-installer/issues/3"

Still doesn't do anything. I'll investigate further and create an issue on Github.

Re: Ionide – F# Dev Tools for the Atom Editor

#27

Just want to let You all that I'm an author of most stuff ( but of course we have also some cool contributors!) so if You have any questions feel free to ask them here.

Looks awesome! I'm curious though about how it handles file ordering in a project.
Post reply on HN