F# Code Snippets?

Did you know that you can leverage Code Snippets in F#?

FSharp_CodeSnippet_Editor

Big shoutout to Tao Liu for providing this support.

Here’s a summary of how to leverage this awesome productivity tool:

  1. Download the F# Snippets Extension.
  2. Download the code snippet files here.
  3. Select Tools | Code Snippets Manager.
  4. Ensure the following path exists:C:\Users\<username>\Documents\Visual Studio 2015\Code Snippets\Visual F#\My Code Snippets

NOTE:

You should observe something like this once configured:

CodeSnippetManager5. Copy the code snippet files to the path above.

i.e. C:\Users\<username>\Documents\Visual Studio 2015\Code Snippets\Visual F#\My Code Snippets

6. Launch Visual Studio

7. Invoke Code Snippets window with the following keys:Ctrl K+X

8. Observe code snippet items.

FSharp_CodeSnippet_Editor

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: