You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To build and work on `ghcide` itself, you can use Stack or cabal, e.g.,
171
+
running `stack test` will execute the test suite.
172
+
173
+
### Building the extension
174
+
175
+
For development, you can also the VSCode extension from this repository (see
176
+
https://code.visualstudio.com/docs/setup/mac for details on adding
177
+
`code` to your `$PATH`):
178
+
179
+
1.`cd extension/`
180
+
2.`npm ci`
181
+
3.`npm run vscepackage`
182
+
4.`code --install-extension ghcide-0.0.1.vsix`
183
+
184
+
Now opening a `.hs` file should work with `ghcide`.
185
+
174
186
## History and relationship to other Haskell IDE's
175
187
176
188
The code behind `ghcide` was originally developed by [Digital Asset](https://digitalasset.com/) as part of the [DAML programming language](https://github.com/digital-asset/daml). DAML is a smart contract language targeting distributed-ledger runtimes, based on [GHC](https://www.haskell.org/ghc/) with custom language extensions. The DAML programming language has [an IDE](https://webide.daml.com/), and work was done to separate off a reusable Haskell-only IDE (what is now `ghcide`) which the [DAML IDE then builds upon](https://github.com/digital-asset/daml/tree/master/compiler/damlc). Since that time, there have been various [non-Digital Asset contributors](https://github.com/digital-asset/ghcide/graphs/contributors), in addition to continued investment by Digital Asset. All contributions require a [Contributor License Agreement](https://cla.digitalasset.com/digital-asset/ghcide) that states you license the code under the [Apache License](LICENSE).
0 commit comments