python - Can Pycharm automatically complete spaces after writing a sentence of code?
怪我咯
怪我咯 2017-05-18 10:56:12
0
4
1170

Anyone who has played VS knows that when you type a code and add a semicolon, the spaces will be automatically completed, such as:

int a=b+1;
自动变成
int a = b + 1;

But pycharm doesn’t have it. It needs to be done manually or with the shortcut key ctrl alt L. I don’t know much about pycharm. Please give me some advice.

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(4)
左手右手慢动作

@mugbya

曾经蜡笔没有小新

Personally tested vs downloaded this code, no spaces are added automatically, the questioner is lying

黄舟

ctrl+alt+L is enough

世界只因有你

can’t

It is recommended that the author develop good coding habits instead of relying on IDE to format it for you

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template