implicit-hie icon indicating copy to clipboard operation
implicit-hie copied to clipboard

Auto generate a stack or cabal multi component hie.yaml file

Results 22 implicit-hie issues
Sort by recently updated
recently updated
newest added
trafficstars

see https://github.com/haskell/haskell-language-server/issues/3074

TLDR if I start package name with a newline then it's not picked up So I indented my cabal file as follows `test1.cabal` ``` cabal-version: 3.0 name: test version: 0.1...

bug

Since https://github.com/haskell/cabal/issues/6622 has been merged, `cabal repl` works reliably for file paths that are part of a cabal project. Thus, implicit-hie should generate (at least within HLS) only the most...

When I run `gen-hie` in the root of https://github.com/unisonweb/unison/tree/5ba4d052bc6f74dff66654266e09eb192de97be1, I get: ``` cradle: cabal: - path: "codebase2/codebase/./" component: "lib:unison-codebase" - path: "codebase2/codebase-sqlite/./" component: "lib:unison-codebase-sqlite" - path: "codebase2/codebase-sync/./" component: "lib:unison-codebase-sync" -...

question

I use vscode and have installed implicite-hie with cabal for ghc 8.10.4. when I start HLS in vscode I get the error message: ``` { "resource": "/home/frank/Workspace11/uniformBase/uniformSources/uniform-algebras/app/Main.hs", "owner": "Haskell (uniform-algebras)",...

Cabal files apparently allows writing curly braces around blocks, which confuses implicit-hie. For example, this file: https://github.com/ivan-m/graphviz/blob/42dbb6312d7edf789d7055079de7b4fa099a4acc/graphviz.cabal#L59 ``` Library { -- ... ``` will generate a `hie.yaml` file like this...

bug

I ran into some rather confusing behaviour when I used `gen-hie` with a cabal file that ended with an `other-modules` list. I loaded `Hie.Cabal.Parser` into GHCi to confirm this. Test...

bug

My `cabal.project` has: ``` packages: ./. ../reanimate-svg ``` `implict-hie` produces: ``` cradle: cabal: - path: "../reanimate-svg/src" component: "lib:reanimate-svg" - path: "../reanimate-svg/test" component: "reanimate-svg:test:w3c-spec" ``` When I'd expect: ``` cradle: cabal:...

bug

Since the introduction of Cabal flags in `haskell-language-server.cabal`, `gen-hie` is not able to generate a cradle that covers all the import dirs in that Cabal descriptor. In particular, the folder...

This is a draft PR to provoke discussion. I came across http://hackage.haskell.org/package/cabal-install-parsers-0.3.0.1/docs/Cabal-Project.html, which was made for `haskell-ci`, and I thought that it could be a good idea to use this...