Are there any good F# text editors?

被刻印的时光 ゝ 提交于 2019-12-03 05:34:46

Check this out: F# Without Visual Studio

Not to be too much of a tease, but looking ahead, VS2010 uses a new rehostable editor component, you can hear some about it here: Hanselminutes Podcast 147 - The new WPF-based Text Editor in Visual Studio 2010 - Interview with a Dev

Anyway, this means that the F# editing experience in VS can, in theory, be completely decoupled from VS and hosted in a lightweight editor. Which means it's possible F# could ship a sample or something that's 'the VS editing experience' (tooltips, squiggles, intellisense, ...) without VS.

To be clear, we on the F# team don't yet have any concrete plans to ship such a thing, but the new internal factoring of VS and the editor and MEF and whatnot should make this easy to do (we've prototyped it over a weekend, and it mostly works). So hopefully look forward to cool things in the future.

Two other options:

  1. SharpDevelop with F# plugin from Robert Pickering.
  2. Visual Studio 2008 Shell with F# CTP

Any editor which will handle OCaml should handle F# -okay-. Mostly you just needs tabs. I'd recommend KomodoEdit, personally.

For notepad ++ someone made a file and put it up on the wiki:

http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_Fsharp.xml

One other option:

  1. xacc.ide, a small ide that supports a bunch of .NET languages. But frankly, I haven't use it for a while since I'm really happy with Visual Studio 2008 (IntelliSense, interactive syntax checking, fsi, etc...).

You can setup Sublime Text 2 to work with F# as described here http://blog.kulman.sk/using-sublime-text-2-as-f-repl/

You can use Ionide package to integrate with Visual Studio Code (VS Code) or Atom editors.

Here is an article "F# Support in Visual Studio Code with Ionide"

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!