on master help sign in
Describe how to install the IDE (#1686)
f7cff7cNeil Mitchell
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
2510. Run the Reload Window command in VS Code.
2510. Run the Reload Window command in VS Code.
26
26
27Now you should have a working IDE dealing with itself.
27Now 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 @@
1{
1{
2 "name": "haskell-ide-core",
2 "name": "haskell-ide-core",
3 "displayName": "haskell-ide-core",
3 "displayName": "haskell-ide-core",
4+ "publisher": "digitalasset",
5+ "repository": {
6+ "type" : "git",
7+ "url" : "https://github.com/digitalasset/daml.git"
8+ },
4 "description": "A simple extension to test out haskell ide core",
9 "description": "A simple extension to test out haskell ide core",
5 "version": "0.0.1",
10 "version": "0.0.1",
6 "engines": {
11 "engines": {
@@ -26,12 +31,12 @@
26 "properties": {
31 "properties": {
27 "hic.executablePath": {
32 "hic.executablePath": {
28 "type": "string",
33 "type": "string",
29− "default": "--ide .ghci",
34+ "default": "haskell-ide-core",
30 "description": "The location of your haskell-ide-core executable"
35 "description": "The location of your haskell-ide-core executable"
31 },
36 },
32 "hic.arguments": {
37 "hic.arguments": {
33 "type": "string",
38 "type": "string",
34− "default": "",
39+ "default": "--ide",
35 "description": "The arguments you would like to pass to the executable"
40 "description": "The arguments you would like to pass to the executable"
36 }
41 }
37 }
42 }
haskell-ide-core.cabal+1−1
@@ -107,7 +107,7 @@ library
107 other-modules:
107 other-modules:
108 Data.Text.Prettyprint.Doc.Syntax
108 Data.Text.Prettyprint.Doc.Syntax
109
109
110−executable ide-demo
110+executable haskell-ide-core
111 default-language: Haskell2010
111 default-language: Haskell2010
112 main-is: Demo.hs
112 main-is: Demo.hs
113 ghc-options: -main-is Demo.main
113 ghc-options: -main-is Demo.main