2019-05-22 21:58:05 -07:00
|
|
|
#+TITLE: lang/fsharp
|
|
|
|
#+DATE: May 22, 2019
|
|
|
|
#+SINCE: {replace with next tagged release version}
|
|
|
|
#+STARTUP: inlineimages
|
|
|
|
|
|
|
|
* Table of Contents :TOC_3:noexport:
|
|
|
|
- [[#description][Description]]
|
|
|
|
- [[#module-flags][Module Flags]]
|
|
|
|
- [[#plugins][Plugins]]
|
|
|
|
- [[#hacks][Hacks]]
|
|
|
|
- [[#prerequisites][Prerequisites]]
|
|
|
|
- [[#mono][Mono]]
|
|
|
|
- [[#osx][OSX]]
|
|
|
|
- [[#arch-linux][Arch Linux]]
|
2019-07-05 10:37:16 -07:00
|
|
|
- [[#lsp][LSP]]
|
2019-05-22 21:58:05 -07:00
|
|
|
- [[#features][Features]]
|
|
|
|
- [[#configuration][Configuration]]
|
|
|
|
- [[#troubleshooting][Troubleshooting]]
|
|
|
|
|
|
|
|
* Description
|
|
|
|
# A summary of what this module does.
|
|
|
|
|
|
|
|
# + If possible, include a brief list of feature highlights here
|
|
|
|
# + Like code completion, syntax checking or available snippets
|
|
|
|
# + Include links to packages & external things where possible
|
|
|
|
This module adds [[https://fsharp.org/][F#]] support.
|
|
|
|
+ Code completion
|
|
|
|
+ eldoc support
|
|
|
|
+ Syntax checking
|
|
|
|
|
|
|
|
** Module Flags
|
2019-07-05 10:37:16 -07:00
|
|
|
+ =+lsp= Enables lsp-fsharp (this requires ~:tools lsp~ to be enabled).
|
2019-05-22 21:58:05 -07:00
|
|
|
** Plugins
|
|
|
|
+ [[https://github.com/fsharp/emacs-fsharp-mod+e][fsharp-mode]]
|
2019-07-05 10:37:16 -07:00
|
|
|
+ =+lsp=
|
|
|
|
+ [[https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-fsharp.el][lsp-fsharp]]
|
2019-05-22 21:58:05 -07:00
|
|
|
** Hacks
|
|
|
|
None so far.
|
|
|
|
|
|
|
|
* Prerequisites
|
|
|
|
** Mono
|
2019-07-05 10:37:16 -07:00
|
|
|
To get code completion/syntax checking when not using lsp, you will need to install [[https://www.mono-project.com/][mono]].
|
2019-05-22 21:58:05 -07:00
|
|
|
*** OSX
|
|
|
|
Do *NOT* install mono via brew. See this [[https://github.com/fsharp/FsAutoComplete/issues/331][issue]].
|
|
|
|
*** Arch Linux
|
|
|
|
#+BEGIN_SRC sh
|
|
|
|
sudo pacman -S mono
|
|
|
|
#+END_SRC
|
2019-07-05 10:37:16 -07:00
|
|
|
** LSP
|
|
|
|
The language server is automatically installed by [[https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-fsharp.el][lsp-fsharp]].
|
2019-05-22 21:58:05 -07:00
|
|
|
* Features
|
|
|
|
An in-depth list of features, how to use them, and their dependencies.
|
|
|
|
|
|
|
|
* Configuration
|
|
|
|
How to configure this module, including common problems and how to address them.
|
|
|
|
|
|
|
|
* Troubleshooting
|
|
|
|
Common issues and their solution, or places to look for help.
|