haskell-language-server icon indicating copy to clipboard operation
haskell-language-server copied to clipboard

hls-cabal-plugin: No completions for `custom-setup`

Open fendor opened this issue 6 months ago • 3 comments

With HLS 2.11, I don't get completions for custom-setup stanzas.

Example:

cabal-version:      3.8
name:               cabal-with-custom-setup
version:            0.1.0.0
build-type:         Custom

custom-setup
    

library
    exposed-modules:  MyLib
    build-depends:    base
    hs-source-dirs:   src
    default-language: Haskell2010

We should get completions!

fendor avatar Jul 04 '25 09:07 fendor

cc @VeryMilkyJoe

fendor avatar Jul 04 '25 09:07 fendor

is this still open ?

YashSuthar983 avatar Oct 22 '25 11:10 YashSuthar983

I think so, if you want to pick it up, try to reproduce it! Feel free to give us a shout if you get stuck or need a pointer.

fendor avatar Oct 23 '25 08:10 fendor