Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve autocompletion of parameters#996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sebastinas merged 3 commits intobpython:mainfromgpotter2:main
Jul 26, 2023
Merged

Conversation

gpotter2
Copy link
Contributor

@gpotter2gpotter2 commentedJul 22, 2023
edited
Loading

Two minor improvements to the completion:

  1. auto-completion for parameters is done without needing to pass the beggining of a parameter. To give an example:
classTest:def__init__(self,aaa,aab,aac):pass

with the PR: this allows to do:Test( then TAB directly to select the arguments
image

upstream/main: you need to doTest(a before completion kicks in.Test( gives nothing
image

  1. auto-completion results are ordered slightly differently: parameters should be prioritized when available.

this PR:
image

upstream/main:
image

@gpotter2gpotter2 changed the titleImprove autocompletionImprove autocompletion of parametersJul 22, 2023
@codecov-commenter
Copy link

codecov-commenter commentedJul 22, 2023
edited
Loading

Codecov Report

Merging#996 (77bed91) intomain (7bf93f5) willincrease coverage by0.03%.
The diff coverage is100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Pleaseinstall the Github App Integration for your organization.Read more.

@@            Coverage Diff             @@##             main     #996      +/-   ##==========================================+ Coverage   76.35%   76.39%   +0.03%==========================================  Files          61       61                Lines        8291     8302      +11     ==========================================+ Hits         6331     6342      +11  Misses       1960     1960
Files ChangedCoverage Δ
bpython/autocomplete.py87.41% <100.00%> (+0.20%)⬆️
bpython/test/test_autocomplete.py94.98% <100.00%> (+0.11%)⬆️

@sebastinassebastinas merged commit9c83806 intobpython:mainJul 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sebastinassebastinassebastinas left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@gpotter2@codecov-commenter@sebastinas

[8]ページ先頭

©2009-2025 Movatter.jp