F# VS 2019 Syntax Color Coding - f#

I see other people have more options than me under "Fonts and Colors" in VS 2019 (latest version, 16.7.5):
The old F# Power Tools and F# Tools are now part of the IDE, correct? Why don't I have the same options? Should I be using a different IDE?

Related

Regex Color tabs in Visual Studio Community 2019 don't seem to be working

Previously in Visual Studio Community 2017 I had configured a series of Regex expressions to color the tabs when working in MVC according to whether these were controllers, views, models, dbcontext, and other custom conditions to find them better visually.
Now I'm testing Visual Studio 2019 and although I installed the productivity power tools, they say that the Custom Document Well component is only available for VS2017.
Here is the page to the productivity power tools
Is there another way to do the same in VS2019?
You can use my Tabs Studio extension to color tabs in VS 2019:

z3 minimum Visual Studio compiler version

What is the minimum Visual Studio compiler that can be used to build z3? I have tried commit 2d2ec385410a133bfb8c699d1c2c85fcf141f4b8 from github, and it fails to build with both MSVC 2008 and 2010. We need it to work with MSVC 2008, but using that compiler to build resulted in a failure when trying to convert a const_iterator type to an iterator type. So I tried with MSVC 2010 and got this:
..\src\util\hwf.cpp(320) : error C3861: '_mm_fmadd_sd': identifier not found
Thanks,
Tom
Both, Visual Studio 2008 and 2010 are not supported anymore, by Z3 but also by the rest of Microsoft (mainstream support has ended earlier this year, see Support Lifecycle).
_mm_fmadd_sd is an intrinsic for floating-point fused-multiply-and, which is definitely available in VS 2010 and we built Z3 using VS 2010 for a very long time, so that can't be the problem. For some reason your header files don't contain that function declaration, or the compiler macros are set up incorrectly. Definitely make sure you're running the compilation in a VS2010 command prompt and that you're not using the Express edition (at the very least it doesn't come with OpenMP and possibly some other extensions as well).

Is F# in general and the F# plugin for MonoDevelop maintained for Linux?

I would like to play around with F# on my Linux box, but I struggle to find up-to-date versions of the relevant files. The F# cross-platform packages are from 2010 and the plug-in seems to be for Monodevelop 2.4 (I have 2.8 installed, which is not the newest anyway...). Is the project still alive? Am I looking at the right place?
F# cross-platform package is pretty outdated. Depending on which Linux distro you're using, F# may be distributed with Mono 2.10.x (check Mono homepage for details). Otherwise, you should build F# compiler from source for latest version.
The original F# binding does not work with MonoDevelop 2.8. Fortunately, the F# binding is being actively developed by Scott Stephens under a Google Summer of Code project. There are first positive sights as being mentioned here. For discussion, you can post on F# Open Source Community Group or ask questions here.
The F# addin for Monodevelop is still developed as of 2014 and is available from addins.monodevelop.com.

F# on/in SharpDevelop?

Is there an F# compiler (plugin?) for SharpDevelop? I use SharpDevelop on my netbook for hobby development and it would be cool to program in f# on it.
If you install the F# compiler, SharpDevelop 3.0 automatically supports it. (Oh well. At least people will get a good answer now.)
On Windows, I settled on Visual Studio Shell and the May F# CTP.
There's a rather old (Aug 2008) F# Plugin for MonoDevelop. Read more on its Wiki page.
For the F# compiler, download the xip file from the F# May 2009 CTP page. there are certain known issues with running it on Mono, just search for "F# Mono" for more info.
Now Visual Studio 2010 supports F#. However, that doesn't include the Express editions, so if you're looking for F# IDEs for free, then there's a MonoDevelop plugin (which needs v2.6 IIRC), you can install Visual Studio Shell Integrated and add FSharp to that, or SharpDevelop.
Of these, I'd probably recommend the Visual Studio Shell over the others as it seems to have the best integration between the editor window and the F# Console window. However, if you're interested in doing things cross-platform, then look at MonoDevelop, as you can make sure that something will work on Mono.

Are there any good F# text editors?

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...
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:
SharpDevelop with F# plugin from Robert Pickering.
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:
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"

Resources