ndmitchell / ndmitchell/ghcid

quickfix location can't be set to arbitrary directory

Open
#367 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
1.2k
Forks
117
PR merge metrics
No merged PRs in 30d

Description

In a production codebase, it can be the case that one is working in multiple directories. Changes in a file in one directory could cause errors in many others across the codebase. At the moment, the quickfix file via the -o quickfix option can only be written to the directory in which ghcid is run.

It would be ideal to be able to place this file anywhere, such as ~/.quickfix. Then vim can always catch the quickfix file no matter where you were when you generated it or when you opened vim by simply configuring the vimrc with the custom location.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the -o quickfix option and how ghcid chooses the quickfix output path. Check how command-line paths are parsed and written, then verify that an absolute or home-directory path such as ~/.quickfix works regardless of the working directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.