Open nhenin opened 4 years ago
Ok I'm progressing :-)
The package is not copied in your cache :
Ok I have copied manually the lib and it works, maybe you are not supporting this feature yet ?
Ok I have copied manually the lib and it works, maybe you are not supporting this feature yet ?
Yes, for libraries only code from hackage is downloaded to the plugin's cache.
Normally when a Stack project has multiple Cabal projects, they are defined in as packages
in stack.yaml
. That is supported.
And by curiosity, how do you use Hoogle with your plugin ?
Hoogle is used to retrieve the Haddock documentation (as in your screenshot) and it can be used for navigation (in menu Navigate/Haskell).
Btw, you didn't mention to location of your repo.
Normally when a Stack project has multiple Cabal projects, they are defined in as packages in stack.yaml. That is supported.
I was doing that at the beginning, but when the project get more mature that's a transition you want to do eventually, because now I have 13 sub-projects... And some of them are going to be public in github, so I can't do that anymore... And It adds useless recompiling also ...
Do you plan to support this ? It's going to become a pb eventually for us....
Btw, you didn't mention to location of your repo.
What do you mean ? this ?
- location:
git: git@github.com:commercialhaskell/stack.git
commit: 6a86ee32e5b869a877151f74064572225e1a0398
It changed with the new versions of stack (https://stackoverflow.com/questions/38377521/haskell-stack-install-package-dependency-from-github) you don't need it anymore...
Do you plan to support this ? It's going to become a pb eventually for us....
I will take a look soon. Should be doable.
What do you mean ? this ?
No, I'm referring to this:
I'm open sourcing a part of the project of my company now, I have created a public repository on github..
That would be great @rikvdkleij :-) I appreciate the quality of your support 👍 , do we let that issue open then ?
Yes, issue can stay open.
I'm open sourcing a part of the project of my company now, I have created a public repository on github.. And I use this package that way in
extra-deps
in mystack.yml
file :Everything works well, but somehow I can't access to the code source from the project that uses it in Intellij.
And by curiosity, how do you use Hoogle with your plugin ? is it just to display info like this : or you use it for other things as well ?
Thanks for the help in advance :-)