haskell / haskell/haskell-language-server

Extensions to snippets

Open
#3,349 1 comment 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

This is a bit of an ideas issue, let me know if this is inappropriate...

We could support (`^` for cursor location):
1. Autocomplete patterns while being written: `foo Ba^ => foo Bar {..}^`
2. When adding a top level definition: `foo ^ => foo :: _\nfoo = _^`
3. In deriving clauses for typeclasses that exist in `Prelude` (or perhaps even in this module or project? Such as ToJSON/FromJSON)
4. Cabal files could definitely have a lot of autocomplete when adding new subheadings
5. `instance Show Foo where^ => instance Show Foo where\n showsPrec Foo {..} = _^`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.