There are several straightforward ways to do this without needing Tree-sitter or Jedi.
Here are two approaches in Emacs.
https://emacs.stackexchange.com/a/69571
https://rigsomelight.com/2010/02/14/emacs-interactively-find...
Here are two approaches in Emacs.
https://emacs.stackexchange.com/a/69571
https://rigsomelight.com/2010/02/14/emacs-interactively-find...