This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2020年07月07日 12:17 by Saumitra Verma, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg373222 - (view) | Author: Saumitra Verma (Saumitra Verma) | Date: 2020年07月07日 12:17 | |
There should be a simple autocomplete(intellisense) in idle. |
|||
| msg373224 - (view) | Author: E. Paine (epaine) * | Date: 2020年07月07日 12:51 | |
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. |
|||
| msg373253 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2020年07月07日 21:48 | |
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. Issue 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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:33 | admin | set | github: 85402 |
| 2020年07月07日 21:48:20 | terry.reedy | set | status: open -> closed superseder: IDLE completions: format, factor, and fix messages: + msg373253 resolution: duplicate stage: resolved |
| 2020年07月07日 12:51:48 | epaine | set | nosy:
+ epaine messages: + msg373224 versions: - Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 |
| 2020年07月07日 12:19:10 | Saumitra Verma | set | versions: + Python 3.5, Python 3.6, Python 3.7, Python 3.9, Python 3.10 |
| 2020年07月07日 12:17:37 | Saumitra Verma | create | |