mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-12 02:24:13 +03:00
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:
parent
1be84f1a23
commit
f7cff7c3c8
@ -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`
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user