commercialhaskell / commercialhaskell/stack

Typo suggestions in more places in stack

Open
#1,748 2 comments 1 reaction 0 assignees View on GitHub
awaiting pull request type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

See https://github.com/commercialhaskell/stack/issues/158 , where it will suggest near matches of the user's input. This only works for things like `stack build pkg-0.0...`. It'd be great to have fuzzy suggestions for all of the following:
- [ ] Targets. Ideally this would handle fuzzy suggestions of package names and component names. Bonus would also be supporting fuzzy suggestions of dirs, but that's not a big deal.
- [ ] extra-deps. See also https://github.com/commercialhaskell/stack/issues/1521
- [ ] filepaths? For example `--stack-yaml`
- [ ] more?

Ideally, these suggestions would share the same system as shell completion (see https://github.com/commercialhaskell/stack/issues/1343 and https://github.com/commercialhaskell/stack/issues/832 . This way we can get checking and suggestions from the same mechanism!

(but of course, PRs adding any of these will be accepted, no need to do it all)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.