nbdev-vscode icon indicating copy to clipboard operation
nbdev-vscode copied to clipboard

Fix @patch integration with VSCode

Open Elijas opened this issue 2 years ago • 0 comments

Problem statement

Cmd + Click on my_method in

from my_package.core import MyClass
my_class = MyClass()
my_class.my_method()

doesn't take to the method definition (or any other IDE integration) when the method was created with

# %% ../nbs/00_core.ipynb 2
from fastcore.basics import patch
@patch
def my_method(self: MyClass):
    ...

Elijas avatar Aug 16 '23 08:08 Elijas