You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing a code block in python, the lines aren't being automatically indented when needed. I'm not sure about this, but I'm also afraid that this might happen with other languages that rely on new lines instead of brackets.
Steps to reproduce
Insert a python code block
Write a random code: x = 0
Write a code that requires indentation:
if x == 0:
print(x)
Activity
Jocs commentedon Jan 17, 2022
Do you want to indent
print(x)when press enter and the cursor is at the end ofif x == 0?Jocs commentedon Jan 17, 2022
We can only distinguish the brackets, and indent the next line, and PR is welcomed.