Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE intellisense #85402

Closed
SaumitraVerma mannequin opened this issue Jul 7, 2020 · 3 comments
Closed

IDLE intellisense #85402

SaumitraVerma mannequin opened this issue Jul 7, 2020 · 3 comments
Assignees
Labels
3.10 only security fixes topic-IDLE type-feature A feature request or enhancement

Comments

@SaumitraVerma
Copy link
Mannequin

SaumitraVerma mannequin commented Jul 7, 2020

BPO 41230
Nosy @terryjreedy, @E-Paine
Superseder
  • bpo-27609: IDLE completions: format, factor, and fix
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/terryjreedy'
    closed_at = <Date 2020-07-07.21:48:20.637>
    created_at = <Date 2020-07-07.12:17:37.036>
    labels = ['expert-IDLE', 'type-feature', '3.10']
    title = 'IDLE intellisense'
    updated_at = <Date 2020-07-07.21:48:20.636>
    user = 'https://bugs.python.org/SaumitraVerma'

    bugs.python.org fields:

    activity = <Date 2020-07-07.21:48:20.636>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2020-07-07.21:48:20.637>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2020-07-07.12:17:37.036>
    creator = 'Saumitra Verma'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41230
    keywords = []
    message_count = 3.0
    messages = ['373222', '373224', '373253']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'epaine', 'Saumitra Verma']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '27609'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41230'
    versions = ['Python 3.10']

    @SaumitraVerma
    Copy link
    Mannequin Author

    SaumitraVerma mannequin commented Jul 7, 2020

    There should be a simple autocomplete(intellisense) in idle.

    @SaumitraVerma SaumitraVerma mannequin added the 3.8 only security fixes label Jul 7, 2020
    @SaumitraVerma SaumitraVerma mannequin added topic-IDLE type-feature A feature request or enhancement 3.8 only security fixes labels Jul 7, 2020
    @SaumitraVerma SaumitraVerma mannequin added topic-IDLE type-feature A feature request or enhancement 3.7 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels Jul 7, 2020
    @E-Paine
    Copy link
    Mannequin

    E-Paine mannequin commented Jul 7, 2020

    If I understand the issue correctly, such a feature already exists. Currently, the wait before showing the list of completions is 2 seconds (https://github.com/python/cpython/blob/master/Lib/idlelib/config-extensions.def#L7) though this can be changed in settings. It is not as advanced as you would find in other IDEs, though it generally does the job.

    @E-Paine E-Paine mannequin removed 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes labels Jul 7, 2020
    @terryjreedy
    Copy link
    Member

    IDLE already has autocomplete of names, attributes, and string paths. This is documented in the Completion subsection of the Editing and Navigation section of the doc, easily accessible on the Help menu. Please read the doc before suggesting enhancements.

    bpo-27609 summarizes approximately 10 existing bpo issues for improving completions. Please check the list there before suggesting a specific change.

    I believe that 'Intellisense' is a Microsoft's trademark for a Visual Studio feature. It should not be used generically. Since I only ever used VS, in the past, to compile python.exe, I never knew what Intellisense did, just that it made me wait when I opened VS. (/PCBuild in the CPython repository now has build.bat to directly invoke the compiler without this delay.)

    I am guessing from your wording that at least part of the Intellisense delay is to recompile the database needed for completions. As a C++ program, VS cannot import python the current text of python modules the way that a python-coded IDE can. It might be nice to add something to the stdlib that could be used by any python editor or shell, but I will not pursue that until existing issues are finished.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes topic-IDLE type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant