Skip to content

How do fetch notebook or current file path for a jupyterlab extension the way the Rename widget does? #204

@luis-chaves-visa

Description

@luis-chaves-visa

The Rename action that appears when a user right-clicks a notebook name on the tab section

image

displays the path of the current file:

image

I was wondering how it does that, I'd like to replicate that functionality for my extension, I've browsed through jupyterlab's source code but wasn't able to find an answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions