Hi,
I use the Go to Symbol (Ctrl+Shift+R) a lot, but I would like to change its behaviour to be able to include the path of the symbol in the search. I will explain with one example:
Imagine I have two classes CardPayment in two different paths within a project:
src/domain/payments/creditcard.py::CardPayment
src/domain/billing/creditcard.py::CardPayment
Right now, using the Go To Symbol (Global) functionality makes me enter CardPayment first, and then select the source file. I would like to do it in one step, so typing “billing CardPayment” filters (or orders) to set src.domain.billing.creditcard.py::CardPayment as the top choice.
I think this is related to how the symbols are indexed, and right now for python the meta.function and meta.class are used, but I don’t have enough knowledge to modify it so I can also filter by paths…
I found this functionality in other editors like Pycharm, and I found it very useful because it is like a mix of looking for a file (ctrl+p) and looking for a symbol (ctrl+shift+r)