Skip to content

"Go to Definition" is not working #224

@Artmann

Description

@Artmann

When clicking on "Go to Definition" on a function, you are taken to an error screen.

Image Image

Environment data

  • Deepnote Extension version (available under the Extensions sidebar): 1.1.4
  • OS (Windows | Mac | Linux distro) and version: Mac
  • Python and/or Anaconda version: 3.13

Expected behaviour

When clicking "Go to Definition" on a function call, the focus should switch to the function definition.

Actual behaviour

There is an error screen.

Steps to reproduce:

Create a block with a function:

def sum(a: int, b: int) -> int:
    '''Returns the sum of two integers.'''
    return a + b

Create another block that calls the function:

sum(2, 2)

Right-click on sum and choose the "Go to Definition" option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions