Skip to content

Instantly share code, notes, and snippets.

@ctaggart
Created November 29, 2017 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctaggart/224cdd2bb055ecb2d1c6ba4aaca22dae to your computer and use it in GitHub Desktop.
Save ctaggart/224cdd2bb055ecb2d1c6ba4aaca22dae to your computer and use it in GitHub Desktop.
module Extension
open VSCode.Vscode
let activate(context : ExtensionContext) =
printfn "Congratulations, your extension is now active!"
commands.registerCommand("extension.sayHello", fun _ ->
window.showInformationMessage("Hello, World from F#!", ResizeArray []) |> ignore
printfn "Let's log something to the console here too."
None
)
|> context.subscriptions.Add
dotnet new -i ctaggart.templates
dotnet new --list -lang f#
dotnet new vscode -n myvscode
cd myvscode
code .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment