haskell / haskell/vscode-haskell-syntax-highlighting

Better auto indentation

Open
#223 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
109
Forks
51
Avg merge
3d 8h
Merged PRs (30d)
2

Description

```haskell
a = do
let b = do
-- cursor should go here
-- not here
```
In the example, `let` can be changed to `where`, `do` can be changed to `case x of`. There may be more such combinations to consider.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the extension's existing Haskell auto-indentation rules and reproduce the nested do/let example; compare the expected cursor position with the current behavior and check the mentioned where and case x of combinations. Done means the shown indentation and the additional supported combinations behave correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.