I love using Visual Studio Code (VSCode) as my main editor whenever I can, and because I’m an F# developer, I get to use the amazing Ionide plugin .
But to get specific, the main thing I use F# and VSCode for is F# scripting. F# scripts are the best tool for doing ad-hoc computing work, such as:
Trying out a library Writing a utility to process some stuff, like transforming markdown files Testing out someone’s code when they’re asking for help in the F# Slack , F# Forums , or pretty much anywhere Etc.
Note: this post does not apply to Jetbrains Rider. Rider uses its own engine for representing F# syntax expressions and has its own strongly-typed API for traversing and manipulating F# expressions.
F# tooling in Visual Studio and Visual Studio Code supports a variety quick fixes for fixing an error in your code. Here’s an example of one:
Wrap Expression in Parentheses Quick Fix Pretty neat, right? This post will walk through the essentials of implementing a quick fix like this in either Visual Studio or VSCode.