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

Limiting Hoogle searches to my local project code? #265

Open
capn-freako opened this issue Aug 6, 2017 · 1 comment
Open

Limiting Hoogle searches to my local project code? #265

capn-freako opened this issue Aug 6, 2017 · 1 comment

Comments

@capn-freako
Copy link

Using these new tools, is there a way to perform a custom Hoogle search (i.e. - ",hH") on just my local, multi-package project code, ignoring type signature matches from Hackage? And, if so, can it be done on a partially completed type signature?

I would like to enter the string "Graph -> <CR>", in response to the prompt I get when I type ",hH" in normal mode, and have it show me just those functions defined in the local project, with type signatures beginning with "Graph -> ".

@begriffs
Copy link
Owner

begriffs commented Sep 1, 2017

Definitely makes sense as a useful feature. The tool to do it (at least as of 2015) was hoobuddy. To learn how to use that, see https://begriffs.com/posts/2015-07-27-haskell-source-navigation.html at about 13:00.

Interested in submitting a pull request based on the information in that video?

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