jupyter / jupyter/notebook

Improvements to code complete for parameters

Open
#4,281 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Currently if I use code complete when filling in the parameters to a function, the parameters are displayed in alphabetical order. It would be helpful if something like this were implemented:

- parameters are added by keyword. Ie clicking a a parameter "bar" in code complete added `bar=` to the function call.

- positional arguments appear in positional order in the code complete dropdown

Furthermore it would be helpful if code complete displayed a docstring for each parameter so I can remember what each parameter is.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Begin by locating the notebook's code-completion implementation and related tests; compare the current alphabetical parameter suggestions with the requested keyword insertion, positional ordering, and parameter docstrings, then define tests for each behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.