Skip to content
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

How to change IPython.terminal.shortcuts.newline_autoindent to 2 extra spaces? #14438

Open
sci-42ver opened this issue May 15, 2024 · 0 comments

Comments

@sci-42ver
Copy link

In the doc, it says

That is to say, indent by 4 extra space after a function definition, class definition, context manager

Then in ipython, for example when I write one for loop when pressing enter after for ...:, then 4 extra spaces will be inserted. Is there one way to change this behavior to 2 spaces?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant