Issue 404444: [IDLE] auto indent/parentheses (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/34014
classification
Title: | [IDLE] auto indent/parentheses | ||
---|---|---|---|
Type: | enhancement | Stage: | |
Components: | IDLE | Versions: | Python 2.5 |
process
Status: | closed | Resolution: | out of date |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | ajaksu2, barry, cdoutri, kbk, taleinat, tim.peters | |
Priority: | normal | Keywords: |
Created on 2001-02-26 23:46 by cdoutri, last changed 2022-04-10 16:03 by admin. This issue is now closed.
Messages (7) | ||
---|---|---|
msg53088 - (view) | Author: Charles Doutriaux (cdoutri) | Date: 2001-02-26 23:46 |
It'd be really nice to have an automatic indent of a line when using the "TAB" key anywhere on the line, this feature exist in the python emacs mode and is REALLY nice and a total time-saver. Also, having the possibility to see which parentheses/brackets you're closing while typing (as in a lot of editors) would be really nice | ||
msg53089 - (view) | Author: Tim Peters (tim.peters) * ![]() |
Date: 2001-03-17 19:55 |
Logged In: YES user_id=31435 Added to PEP 42 and marked Later/Closed. Assigned to Barry in the hopes that he can clarify the TAB business (I don't understand what this is asking for -- doesn't a TAB key act like a TAB key in Emacs? maybe I always rebound it in my Emacs days). | ||
msg53090 - (view) | Author: Barry A. Warsaw (barry) * ![]() |
Date: 2001-03-18 16:32 |
Logged In: YES user_id=12800 Thomas explained it nicely in a followup to the PEP 42 checkin. Included here for completeness. "The TAB comment is pretty easy to explain: the user wants IDLE to re-indent the *current* line whenever he presses TAB, regardless of where his cursor is at that moment." Indeed, this is how python-mode (and most language editing modes) in Emacs works. You typically have to type ^Q TAB to get a real tab character inserted. Assigning to Guido since he's the most enthusiastic IDLE hacker, but moving it to Feature Requests and re-opening. | ||
msg53091 - (view) | Author: Tim Peters (tim.peters) * ![]() |
Date: 2001-03-18 19:32 |
Logged In: YES user_id=31435 Hmm. SF threw us another curve ball here: the new "Data Type" value "Feature Requests" has only "None" as a possible value for "Assigned To". The intro text in PEP 42 doesn't know about this either ... | ||
msg53092 - (view) | Author: Tim Peters (tim.peters) * ![]() |
Date: 2001-12-10 17:47 |
Logged In: YES user_id=31435 Chagned Category to IDLE. | ||
msg53093 - (view) | Author: Tal Einat (taleinat) * ![]() |
Date: 2006-12-09 16:58 |
The Parentheses/Bracket feature is already addressed by the ParenMatch extension. I agree that an "auto-indent-line" function would be very time-saving. | ||
msg81806 - (view) | Author: Daniel Diniz (ajaksu2) * ![]() |
Date: 2009-02-12 19:28 |
Auto-indent and parenthesis matching already work, Tab triggers auto-completion, but indention can be increased/decreased with Ctrl + ] / Ctrl + [ |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:03:47 | admin | set | github: 34014 |
2009-02-12 19:28:10 | ajaksu2 | set | status: open -> closednosy: + ajaksu2resolution: later -> out of datemessages: + versions: + Python 2.5 |
2007-12-28 04:47:08 | kbk | set | nosy: + kbk |
2001-02-26 23:46:20 | cdoutri | create |