[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2014-06-15 Thread Mark Lawrence

Mark Lawrence added the comment:

I'd like to see this feature as I've been using IDLE quite a lot recently and 
I'm so used to seeing it in other IDEs.

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2014-06-15 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I have never actually used this feature, and I do not see it in Notepad++. I 
worry that some people, especially beginners with no experience of this 
'feature' would hate this, so it would have to be optional.

Do you literally mean 'parentheses' or also square and curly brackets?  How 
about quotes? An autocloser here would be useful as Idle would not mishighlight 
the remainer of the text.

How does it increase speed? Hitting - to skip over the closer is hardly faster 
that typing the closer. It might reduce errors though.

Tal, any opinion on this?

--
nosy: +taleinat

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2014-06-15 Thread Tal Einat

Tal Einat added the comment:

I like the idea, though it's really just nice to have. This is a very common in 
IDEs these days, and whoever finds it annoying will be able to disable it.

If we do this, we should go all the way and close square and curly brackets, 
parenthesis, and quotes (including triple quotes!).

Also, any implementation must allow typing the closing parenthesis to actually 
just move the cursor beyond the automatically generated closer. Getting this 
right is more difficult than it sounds! But certainly possible.

I actually seem to recall having seen this implemented for IDLE quite a few 
years ago. I might even have been the one to implement it... I can't see any 
mention in IDLE-Spoon, IdleX or VIDLE, though. I'll take a look through my old 
files when I get the chance back home.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2014-06-15 Thread Tal Einat

Tal Einat added the comment:

Well, I was wrong. I can't find anything of the sort in my old IDLE files.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2013-08-30 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I have thought about such a feature also. I would at least like to have patch 
to try it out. Possible? I suspect so.

--
nosy: +terry.reedy
versions: +Python 3.4 -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2013-08-29 Thread irdb

New submission from irdb:

Many other IDE's have this feature that allows automatic insertion of closing 
parentheses as user is typing something. I think it saves time and increases 
programming speed. Is it possible to have this on IDLE, too?

--
components: IDLE
messages: 196456
nosy: irdb
priority: normal
severity: normal
status: open
title: Automatic insertion of the closing parentheses, brackets, and braces
type: enhancement
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18875
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com