jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.59k stars 151 forks source link

Searcher ordering problem #376

Open isamert opened 4 years ago

isamert commented 4 years ago

I was trying to debug why dumb-jump is not working for Haskell. What I found is this:

I also had some issues with context, Haskell context definitions seems to be not standard and it fails to find any meaningful context in any case. This was easy to solve with setting dumb-jump-ignore-context. After setting this and forcing grep implementation to be ag I was able to get some meaningful results. But I think the default behavior is far from what I call "just works", here is what I think should happen:

dumb-jump is great most of the time, but the default behavior should emphasize on the language and the tools that it supports rather than going tool-first approach. This way out of the box experience will be much better.

jacktasia commented 4 years ago

Thanks for opening this!

But I think the default behavior is far from what I call "just works."

Totally agree. I appreciate you pointing this situation out. I'll try to implement your idea or something similar soon.