nbdev-vscode
nbdev-vscode copied to clipboard
Fix @patch integration with VSCode
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):
...