2020-10-31

Finding definitions of modules which are parameters

Suppose i have the following code in python:

module dbm_adapter

def insert_in_database():
   doSomething

module B:
import dbm_adapter

def myfunc(dbm_adapater):
LINE 10    dbm_adapter.insert_in_database()

myfunc(dbm_adapter)

When i got line 10 and i click on isnert_in_database, my IDE be it emacs using lsp for example can't find the function. Is it possible to jump to that definition with lsp?



from Recent Questions - Stack Overflow https://ift.tt/3e91Ave
https://ift.tt/eA8V8J

No comments:

Post a Comment