diff --git a/README.md b/README.md index 8391dd90..756b4512 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/extension/package.json b/extension/package.json index 71986cf8..6b83ba51 100644 --- a/extension/package.json +++ b/extension/package.json @@ -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" } } diff --git a/haskell-ide-core.cabal b/haskell-ide-core.cabal index a37fa7dc..5060bc9f 100644 --- a/haskell-ide-core.cabal +++ b/haskell-ide-core.cabal @@ -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