hackage-search icon indicating copy to clipboard operation
hackage-search copied to clipboard

Filter out comments

Open goldfirere opened this issue 4 years ago • 2 comments

It would be great if this could search only outside comments (by request). I suppose this means lexing the files, so I'm not sure how how it would be to implement, or what the impact would be on performance.

And, once you've lexed the files, you could also have the option of searching only outside of strings (or within them!).

goldfirere avatar Oct 02 '20 13:10 goldfirere

@goldfirere are you thinking of a Haskell Language Server .. as a service ?! 💭 💭 💭

ocramz avatar Nov 20 '21 10:11 ocramz

Maybe? I don't think so. I don't quite see how my request here relates to HLS, except that both have to lex Haskell. I mean, HLS as a service might be neat for other reasons, but I don't think I'm requesting that here.

goldfirere avatar Nov 22 '21 13:11 goldfirere