Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode fsharp refactorNew to Visual Studio Code? Get it now.
vscode fsharp refactor

vscode fsharp refactor

Dan Mannock

|
3,747 installs
| (1) | Free
F# refactoring tools for vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vscode-Fsharp-Refactor

Additional F# refactoring tools for vscode. Less keystrokes, more F#, more fun(ctional programming).

Available in the Visual Studio Marketplace

Features

Extract

Extract expression to let binding

  1. Select the expression to extract
  2. Use command (ctrl+shift+R)

Extracts expressions

4-example-extractLet_expression

Extracts lambdas

5-example-extractLet_lambda

Extracts strings

6-example-extractLet_string

Inline

Inline binding

  1. Move cursor to binding or a usage
  2. Use command (ctrl+shift+I)

2-example-inlineLet

Note: you can customise the hotkeys (file > preference > keyboard shortcuts)

Requirements

If you are here you probably have this covered.

  • Vscode
  • Ionide

Roadmap

who knows (see todos.txt for now)

Building & Useful

Full Build

Runs the full build process including:

  • linting
  • unit tests
  • vscode tests
  • extension artifacts

npm run build

Test Watcher

Runs unit tests when changes are detected.

npm run unittest:watch

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft