haskell / haskell/haskell-language-server
Implement some of Scala Metals' code actions
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 13
Description
Pretty open ticket. [Link to Metals' CodeActions section](https://scalameta.org/metals/docs/codeactions/codeactions)
---------------
Here is a code action that seems like low-hanging fruit!

We could have a similar action, where if an upper-case symbol is undefined, we generate a template for a datatype with that name.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked Metals CodeActions documentation and compare its CreateNewSymbol example with the Haskell language server's existing code-action support. Define the scope for handling an undefined upper-case symbol and generating a datatype template, then identify the relevant implementation and tests before making changes. Done means the action is available for the stated case and its behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100