Skip to content

Hide/show dunder methods and attributes during autocompletion #685

Open
@sntgluca

Description

@sntgluca

Elevator Pitch

As a remote JupyterLab user, often hindered by bandwith limitations, it would be useful, to be able to hide dunder methods and attributes during autocompletion for clarity and performance.

Motivation

Dunder special methods and attributes are supposed to be called implicitly, and most of the time are not interesting during any library or class usage.
Arguably, it's similar for _ private methods and attributes.

Design Ideas

In my mind's eye, dunders and private attributes/methods should appear if autocomplete starts explicitly with ._, as in ipywidgets.IntSlider()._. Otherwise they should be hidden.

I don't have any opinion or suggestion about implementation.

Thanks
Gianluca

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions