-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-37892: Use space indents in IDLE Shell #25678
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
Conversation
Adding a newline to the prompt moves it out of the way of user code input, which now starts at the left margin, along with continuation lines.
@taleinat I hope I am not surprising you too much. Unless you find reason why not, I am inclined to merge this tomorrow and leave it to you to merge this in with master, add a toggle*, and test that this works with sidebar toggled off. Or make the 3 little changes to the other PR to test. Or I will tomorrow (it is 2:40 am here).
Then switch to this addition.
Actually, I intend to revise the current mostly useless help message. It could instead be removed and permanently replaced with something more useful. People should know about Help -> About. |
For beta, we might mention sending feedback to idle-dev@python.org. (I just posted to that address to test and it worked.) |
I tried this too. I think I have a slight preference for Tal's version (with the prompts in the margin) because in his version it's easier to distinguish input from output that way, and because it's easier to copy/paste blocks of code that span multiple prompts. |
Shell with sidebar looks even better with proper indents. |
@terryjreedy, this is great! (Sorry for not getting to comment on this earlier.) I'm pleasantly surprised that this simple change appears to "just work" so nicely. |
please merge origin/master into your branch to include this, and the test fix. |
Adding a newline to the prompt moves it out of the way of
user code input, which now starts at the left margin,
along with continuation lines.
https://bugs.python.org/issue37892