ForNeVeR / ForNeVeR/haskeletor

Cabal exposed-modules completion ignores stanza type

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
help wanted refactoring
Dominant language
Scala
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Problem
CabalCompletionContributor suggests module names for exposed-modules without considering the current stanza type, and currently behaves as if only project library module names are valid.

## Why it matters
This can produce incorrect completion suggestions in non-library stanzas and makes Cabal editing less reliable.

## Affected code locations
- https://github.com/ForNeVeR/haskeletor/blob/d71af7e001f34c8115596d70af0994889b80017d/src/main/scala/me/fornever/haskeletor/cabal/completion/CabalCompletionContributor.scala#L58

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.