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
This commit is contained in:
Neil Mitchell 2019-06-15 13:23:59 +02:00 committed by Moritz Kiefer
parent 1be84f1a23
commit f7cff7c3c8
3 changed files with 14 additions and 3 deletions

View File

@ -25,3 +25,9 @@ Let's assume you want to load the `haskell-ide-core` source code in a VS Code ID
10. Run the Reload Window command in VS Code.
Now you should have a working IDE dealing with itself.
## Installing the IDE permanently
1. `cd compiler/haskell-ide-core/extension`
2. `vsce package`
3. `code --install-extension haskell-ide-core-0.0.1.vsix`

View File

@ -1,6 +1,11 @@
{
"name": "haskell-ide-core",
"displayName": "haskell-ide-core",
"publisher": "digitalasset",
"repository": {
"type" : "git",
"url" : "https://github.com/digitalasset/daml.git"
},
"description": "A simple extension to test out haskell ide core",
"version": "0.0.1",
"engines": {
@ -26,12 +31,12 @@
"properties": {
"hic.executablePath": {
"type": "string",
"default": "--ide .ghci",
"default": "haskell-ide-core",
"description": "The location of your haskell-ide-core executable"
},
"hic.arguments": {
"type": "string",
"default": "",
"default": "--ide",
"description": "The arguments you would like to pass to the executable"
}
}

View File

@ -107,7 +107,7 @@ library
other-modules:
Data.Text.Prettyprint.Doc.Syntax
executable ide-demo
executable haskell-ide-core
default-language: Haskell2010
main-is: Demo.hs
ghc-options: -main-is Demo.main