spacemacs/layers/+lang/fsharp
2019-05-15 21:04:48 +03:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00

F# layer

/TakeV/spacemacs/media/commit/2ee74f55da12214c8f1b5c353f51b11fe3a7bca9/layers/+lang/fsharp/img/fsharp.png

Description

This layer adds support for F# language using fsharpbinding and fsharp-mode.

Features:

  • Syntax highlighting
  • Code completion
  • Flycheck integration
  • REPL
  • Compile/Run/Interpreter and info tooltip shortcuts

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add fsharp to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key binding Description
SPC m c c Build the project
SPC m g g Go to definition at point
SPC m h t Show tooltip help at point

REPL

Key binding Description
SPC m s b Send buffer to the REPL
SPC m s B Send buffer to the REPL and switch to the REPL in insert state
SPC m s i Start a REPL
SPC m s p Send phrase to the REPL
SPC m s P Send phrase to the REPL and switch to the REPL in insert state
SPC m s r Send region to the REPL
SPC m s R Send region to the REPL and switch to the REPL in insert state
SPC m s s Show the REPL