0

I am a heavy user of the command called counsel-projectile-rg. As presented by Emacs using self-documenting tools:

counsel-projectile-rg is an autoloaded interactive compiled Lisp function in ‘counsel-projectile.el’.

It is bound to .

(counsel-projectile-rg &optional OPTIONS)

Search the current project with rg.

The command works as expected in general. The only problem is using it after having renamed a bunch of variables. It seems to work taking into account the old names (before the renaming process).

Is there a way to update (refresh) the content being indexed by counsel-projectile-rg?

Pedro Delfino
  • 1,369
  • 3
  • 13
  • 2
    Doesn’t that just run ripgrep? If so, it is just reading the files from disk. Are you sure you saved your project’s buffers after editing them? You can use `C-p s S` (`projectile-save-project-buffers`) to save them all in one go. – db48x Sep 05 '22 at 05:08

0 Answers0