Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using hie-bios with an local dependency? #262

Open
jaunruh opened this issue Nov 2, 2020 · 1 comment
Open

Using hie-bios with an local dependency? #262

jaunruh opened this issue Nov 2, 2020 · 1 comment

Comments

@jaunruh
Copy link

jaunruh commented Nov 2, 2020

I am trying to edit the pandoc source code including a local copy of the source code of the pandoc-types repo which is a dependency of the pandoc repo. So I have the following directory:

pandoc/
- src/
- pandoc-types/
-- src/
...

I have adjusted the pandoc.cabal file and the stack.yaml accordingly and I am able to bild the project with either cabal build or stack build. But I cannot get the hover function to work for the local dependency of pandoc-types. Does the passage about internal libraries refer to local dependencies? Are these generally not supported or are they only not supported when using stack?
How would I have to configure my hie.yaml file in order for the language server to resolve my local dependencies correctly?

@fendor
Copy link
Collaborator

fendor commented Nov 4, 2020

Hi!

Usually that should work, and if hover does not work, I think that is rather an issue of hls. Did you open a file from the pandoc-types dependency and checked if it works within the dependency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants