on master help sign in
Describe how to install the IDE (#1686)

* Add more package.json attributes * Rename ide-demo to haskell-ide-core * Change the default flags for the IDE * Update the README with how to install things

commitf7cff7c3c84cf800054c1e23ad6d56f9e6923a20 authorNeil Mitchell <ndmitchell@gmail.com> dateSat 15 Jun 2019, 13:23 (7 years ago) parent1be84f1
3 files changed+14−3
README.md+6 extension/package.json+7−2 haskell-ide-core.cabal+1−1
README.md+6
@@ -25,3 +25,9 @@ Let's assume you want to load the `haskell-ide-core` source code in a VS Code ID
252510. Run the Reload Window command in VS Code.
2626
2727Now you should have a working IDE dealing with itself.
28+
29+## Installing the IDE permanently
30+
31+1. `cd compiler/haskell-ide-core/extension`
32+2. `vsce package`
33+3. `code --install-extension haskell-ide-core-0.0.1.vsix`
extension/package.json+7−2
@@ -1,6 +1,11 @@
11{
22 "name": "haskell-ide-core",
33 "displayName": "haskell-ide-core",
4+ "publisher": "digitalasset",
5+ "repository": {
6+ "type" : "git",
7+ "url" : "https://github.com/digitalasset/daml.git"
8+ },
49 "description": "A simple extension to test out haskell ide core",
510 "version": "0.0.1",
611 "engines": {
@@ -26,12 +31,12 @@
2631 "properties": {
2732 "hic.executablePath": {
2833 "type": "string",
29− "default": "--ide .ghci",
34+ "default": "haskell-ide-core",
3035 "description": "The location of your haskell-ide-core executable"
3136 },
3237 "hic.arguments": {
3338 "type": "string",
34− "default": "",
39+ "default": "--ide",
3540 "description": "The arguments you would like to pass to the executable"
3641 }
3742 }
haskell-ide-core.cabal+1−1
@@ -107,7 +107,7 @@ library
107107 other-modules:
108108 Data.Text.Prettyprint.Doc.Syntax
109109
110−executable ide-demo
110+executable haskell-ide-core
111111 default-language: Haskell2010
112112 main-is: Demo.hs
113113 ghc-options: -main-is Demo.main