Closed zozowell closed 5 years ago
I made a PR to address this request : https://github.com/bbatsov/helm-projectile/pull/126 I've been using it in daily work, everything works upto now.
My environment :
Doesn't helm-rg
already support this?
😓 , seems yes... https://github.com/cosmicexplorer/helm-rg/blob/master/helm-rg.el#L689 It is never mentioned in the doc. PR closed. Thanks for the response.
~Reference for others : to enable helm-rg search thing-at-point you need to~
~lisp~n ~(setq helm-rg-thing-at-point 'symbol)~ ~
~
'symbol
is a default setting
You shouldn't need to set that explicitly, that's the default.
Wait, I find an issue, helm-rg
searching thing-at-the-point does work in an interactive mode, if you call it interactive directly, but it doesn't work when being called via helm-projectile-rg
.
https://github.com/cosmicexplorer/helm-rg/blob/master/helm-rg.el#L2437
So, helm-projectile-rg
doesn't support this still. Using helm-rg
directly doesn't meet the request either, because it loses the power of searching within project.
Can you try #127? That should be doing the right thing while taking into account the various customizations.
Expected behavior
helm-projectile-rg
supportthing-at-point
search likehelm-projectile-ag
.Actual behavior
Today, only search
selection-region
is supported byhelm-projectile-rg
, unfortunately the underlayinghelm-rg
doesn't supportthing-at-point
either.Steps to reproduce the problem
I don't see support in code, neither can I find any likely thing in
helm-rg
Environment & version information
helm-projectile
version: 20190408.1508helm
version (inhelm-pkg.el
): 20190703.710projectile
version (M-x projectile-version
): 20190626.1315M-x emacs-version
): 26.2