Are there any good F# text editors?

自闭症网瘾萝莉.ら 提交于 2019-12-20 18:28:21

问题


Are there any good text editors for F#?

Instead of firing up resource-intensive Visual Studio, I would like to know if there are any text editors that can pretty-format F# code.

I am just getting started with F# and learning through FSI.exe with Notepad is giving me so much trouble...


回答1:


Check this out: F# Without Visual Studio




回答2:


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.




回答3:


Two other options:

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



回答4:


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




回答5:


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

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




回答6:


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...).



回答7:


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




回答8:


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"



来源:https://stackoverflow.com/questions/762502/are-there-any-good-f-text-editors

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