Visual Studio 2019 Python editor automatically indent problems

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/juwikuang/article/details/89640961

These days with the Visual Studio 2019 development Python. What hurts me is that every time wrap, the cursor will stop at the new front line, rather than the other IDE automatically added the same tab.

I opened Tools [Tools] -> Options ... [Options]. Then find the Text Editor / Python / Tabs below the Indenting, here is the default value VS2019 Block, I changed the Smart (and C #, VB.net the same).

Here Insert Picture Description

And then go back and edit Python files, the editor has been able to automatically add the indenting.

I think, the default value should be the Smart, then Microsoft responded to the problem.
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/juwikuang/article/details/89640961