on master help sign in
Add Sublime Text section on the README (#287)
commit31edb5b0107ca3e0d099dcdcacb67c0892d15d2b authorNikos Baxevanis <nikos.baxevanis@gmail.com> dateFri 20 Dec 2019, 09:47 (7 years ago) parentb52ee60
1 file changed+20
README.md+20
README.md+20
@@ -73,6 +73,26 @@ marketplace](https://marketplace.visualstudio.com/items?itemName=DigitalAssetHol
7373
7474You can follow the [instructions](https://github.com/moodmosaic/ide-haskell-ghcide#readme) to install with `apm`.
7575
76+### Using with Sublime Text
77+
78+* Install [LSP](https://packagecontrol.io/packages/LSP)
79+* Press Ctrl+Shift+P or Cmd+Shift+P in Sublime Text and search for *Preferences: LSP Settings*, then paste these settings
80+```
81+{
82+ "clients":
83+ {
84+ "ghcide":
85+ {
86+ "enabled" : true,
87+ "languageId": "haskell",
88+ "command" : ["ghcide", "--lsp"],
89+ "scopes" : ["source.haskell"],
90+ "syntaxes" : ["Packages/Haskell/Haskell.sublime-syntax"]
91+ }
92+ }
93+}
94+```
95+
7696### Using with Emacs
7797
7898If you don't already have [MELPA](https://melpa.org/#/) package installation configured, visit MELPA [getting started](https://melpa.org/#/getting-started) page to get set up. Then, install [`use-package`](https://melpa.org/#/use-package).