M
M
mkone1122020-07-17 01:55:12
PyCharm
mkone112, 2020-07-17 01:55:12

How to make PyCharm keep the indentation of the previous line?

Code like this:

d0 = {
    {},
    {},
}


d1 = {
{},
{},
}

PyCharm converts to:
d0 = {
    {},
    {},
}


d1 = {
    {},
    {},
}

How to turn it off?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-07-17
@dimonchik2013

https://www.jetbrains.com/help/pycharm/reformat-an...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question