haskell / haskell/haskell-language-server
Add code-action to turn derived type-class into its implementation
未关闭
component: hls-class-plugin
type: enhancement
- 主要语言
- Haskell
- 星标
- 3k
- 派生
- 455
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 12
描述
E.g. for a code-snippet
```haskell
data Bar = Bar deriving (Show)
```
I would like to be able to generate roughly what this `deriving` desugars to.
Ideally, (don't know about the specifics) only the implementation that are not default, e.g.
```haskell
data Bar = Bar
instance Show Bar where
show Bar = "Bar"
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。