◐ Shell
reader mode source ↗
Skip to content

gh-63075: IDLE editor - Auto insertion of the closers#3520

Open
wohlganger wants to merge 75 commits into
python:mainfrom
wohlganger:18875-Auto-insert-parens
Open

gh-63075: IDLE editor - Auto insertion of the closers#3520
wohlganger wants to merge 75 commits into
python:mainfrom
wohlganger:18875-Auto-insert-parens

Conversation

@wohlganger

@wohlganger wohlganger commented Sep 12, 2017

Copy link
Copy Markdown
Contributor

This patch is for Auto insertion of the closing parens, brackets, and braces enhancement. It includes necessary changes to config-extensions.def, and idlelib.test.test_config. It has its own test which covers all non - init statements. As of writing this, idlelib.tests passes on all tests other than calltips, which appears to be a preexisting problem.

https://bugs.python.org/issue18875

wohlganger and others added 30 commits June 29, 2017 15:11
adds fg color, bg color, font, and underline options for parens highlighting
How did the change to the __doc__ of append not get fixed in the tests earlier?
Used incorrect / old python for testing.
Fixing code conflict ate highlighting options. Needed to be re-introduced.
57 hidden items Load more…

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Now that we are no longer implementing new features as extensions, this patch needs to be rewritten before it can be properly review in action. If someone else wants to do so before I get to it, please say so in a comment.

The comments below indicate the major changes needed.

11 hidden conversations Load more…
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Trigger a retest to see if CI produces same odd failures as on another PR.
@csabella

csabella commented Apr 6, 2018

Copy link
Copy Markdown
Contributor

I would like to help out, but I believe Charles would need to make the changes. I don't have 'push access' to his branch.

@ghost

ghost commented May 5, 2019

Copy link
Copy Markdown

Hi,
this would be really helpful in IDLE; it's not just for lazy people, but to reduce errors caused by accidentally forgetting to close a (, ", [ or { .
It happens to me every day, and because of that, I'm considering switching to another editor.
Thanks for working on it!

Is it possible to somehow include this patch manually, after installation of Python, even if it's not fully worked-on here?

@terryjreedy

Copy link
Copy Markdown
Member

This PR makes a unrelated changes to the unix file mode of Tools/ssl/multissltests.py. This must be reverted between this can be applied. I don't think I can do so in Windows. Clicking ... to the right gives an option to 'Delete file'. I have the impression that this actually adds file deletion to the PR rather than removing the file change from the PR.

@terryjreedy

Copy link
Copy Markdown
Member

There is no patch to the IDLE doc. I now think that this perhaps even be the first thing to do, rather than a possibly delayed afterthought.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Feb 21, 2022
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Jul 29, 2022
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 30, 2022
@terryjreedy terryjreedy changed the title bpo-18875 Auto insertion of the closing parens, brackets, braces, and ticks Aug 30, 2022
@terryjreedy terryjreedy self-assigned this Aug 30, 2022
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Aug 31, 2022
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes stale Stale PR or inactive for long period of time. topic-IDLE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants