Skip to content

Commit 8986be5

Browse files
authored
Merge pull request #2307 from jneira/docs-features
[skip ci] Separate features from demos
2 parents 2474e7c + 2958173 commit 8986be5

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

docs/features.md

+27-15
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,48 @@
11
# Features
22

3+
You can watch demos for some of these features [below](#demos).
4+
35
- Warning and error diagnostics from GHC
46
- Type information and documentation on hover, [including your own comments](./configuration.md#how-to-show-local-documentation-on-hover).
57
- Jump to definition: [for now only for local code definitions](https://github.com/haskell/haskell-language-server/issues/708)
68
- Document symbols
79
- Highlight references in document
810
- Code completion
9-
- Formatting via Brittany, Floskell, Fourmolu, Ormolu or Stylish Haskell
10-
- Code evaluation (Haskell Language Server), see ([Tutorial](https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-eval-plugin/README.md))
11+
- Formatting via [Brittany](https://github.com/lspitzner/brittany), [Floskell](https://github.com/ennocramer/floskell), [Fourmolu](https://github.com/fourmolu/fourmolu), [Ormolu](https://github.com/tweag/ormolu) or [Stylish Haskell](https://github.com/haskell/stylish-haskell)
12+
- [Code evaluation](#code-evaluation), see its [Tutorial](https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-eval-plugin/README.md)
13+
- [Integration with](#retrie-integration) [retrie](https://hackage.haskell.org/package/retrie), a powerful, easy-to-use codemodding tool
14+
- [Code lenses for explicit import lists](#explicit-import-lists)
15+
- [Generate functions from type signatures, and intelligently complete holes](#wingman) using [Wingman (tactics)](https://github.com/haskell/haskell-language-server/tree/master/plugins/hls-tactics-plugin)
16+
- [Integration](#hlint) with [hlint](https://github.com/ndmitchell/hlint), the most used haskell linter, to show diagnostics and apply hints via [apply-refact](https://github.com/mpickering/apply-refact)
17+
- [Module name suggestions](#module-names) for insertion or correction
18+
- [Call hierarchy support](#call-hierarchy)
19+
20+
## Demos
21+
22+
### Code evaluation
1123

12-
![Eval Demo](https://raw.githubusercontent.com/haskell/haskell-language-server/master/plugins/hls-eval-plugin/demo.gif)
24+
![Eval Demo](https://raw.githubusercontent.com/haskell/haskell-language-server/master/plugins/hls-eval-plugin/demo.gif)
1325

14-
- Integration with [retrie](https://hackage.haskell.org/package/retrie)
26+
### Retrie integration
1527

16-
![Retrie Demo](https://i.imgur.com/Ev7B87k.gif)
28+
![Retrie Demo](https://i.imgur.com/Ev7B87k.gif)
1729

18-
- Code lenses for explicit import lists
30+
### Explicit import lists
1931

20-
![Imports code lens Demo](https://imgur.com/pX9kvY4.gif)
32+
![Imports code lens Demo](https://imgur.com/pX9kvY4.gif)
2133

22-
- Generate functions from type signatures, and intelligently complete holes using [Wingman (tactics)](https://github.com/haskell/haskell-language-server/tree/master/plugins/hls-tactics-plugin)
34+
### Wingman
2335

24-
![Wingman Demo](https://user-images.githubusercontent.com/307223/92657198-3d4be400-f2a9-11ea-8ad3-f541c8eea891.gif)
36+
![Wingman Demo](https://user-images.githubusercontent.com/307223/92657198-3d4be400-f2a9-11ea-8ad3-f541c8eea891.gif)
2537

26-
- Integration with [hlint](https://github.com/ndmitchell/hlint) to show diagnostics and apply hints via [apply-refact](https://github.com/mpickering/apply-refact)
38+
### Hlint
2739

28-
![Hlint Demo](https://user-images.githubusercontent.com/54035/110860028-8f9fa900-82bc-11eb-9fe5-6483d8bb95e6.gif)
40+
![Hlint Demo](https://user-images.githubusercontent.com/54035/110860028-8f9fa900-82bc-11eb-9fe5-6483d8bb95e6.gif)
2941

30-
- Module name suggestions for insertion or correction
42+
### Module names
3143

32-
![Module Name Demo](https://user-images.githubusercontent.com/54035/110860755-78ad8680-82bd-11eb-9845-9ea4b1cc1f76.gif)
44+
![Module Name Demo](https://user-images.githubusercontent.com/54035/110860755-78ad8680-82bd-11eb-9845-9ea4b1cc1f76.gif)
3345

34-
- Call hierarchy support
46+
### Call hierarchy
3547

36-
![Call Hierarchy in VSCode](https://github.com/haskell/haskell-language-server/raw/2857eeece0398e1cd4b2ffb6069b05c4d2308b39/plugins/hls-call-hierarchy-plugin/call-hierarchy-in-vscode.gif)
48+
![Call Hierarchy in VSCode](https://github.com/haskell/haskell-language-server/raw/2857eeece0398e1cd4b2ffb6069b05c4d2308b39/plugins/hls-call-hierarchy-plugin/call-hierarchy-in-vscode.gif)

0 commit comments

Comments
 (0)