What’s New in Python in Visual Studio Code’s December 2022 Release?
Microsoft announced on its dev blogs website that the December 2022 release of the Python extensions for Visual Studio Code is now available! These extensions are in the pre-release stage but are available for the public to try out. Here’s what this December 2022 release has to offer.
1. Auto Indentation With Pylance
There has been the addition of an auto-indent feature in the Pylance extension. This feature automatically creates the correct indentations in your code. This allows programmers to allocate more of their time to the logic part of their code and less time to formatting. You can give it a try inVS Code - Insiders(registration required).
After installing VS Code Insiders, go to the marketplace and install thePylanceextension. Navigate toView > Command Palette, typePreferences, and runOpen User Settings (JSON).Make sure theeditor.formatOnTypeis set to true. It controls whether the editor will automatically format a line of code after typing.

Once set to true go ahead and write your code to enjoy this new feature.
2. Python for the Web Extension
This is a new VS Code extension that allows you to run anddebug Python codein the browser. It usesWebAssemblyas the execution engine. It is in the experimental stage and hence you should not use it for Python production development. To start using it, follow the following steps:
Limitations of the Python for the Web Extension
As noted, the Python for the Web extension is experimental, and as such has some limitations.
Consequently, your use of this feature should be limited to prototype projects and test environments.

3. The Ruff Extension
This extension provides support for the Ruff linter. The most amazing feature is that it providesQuick Fixactions which will automatically correct auto-fixable violations. TheRuffextension does not require you to use the VS Code insiders to try it. It is also available for installation in the normal VS Code. To give it a try, navigate to the VS Code marketplace and install it.
It fixes the violations in the code by running on your code when you edit or open a Python file. To use it, follow the following steps:

Why You Should Try the New Python Extensions in Visual Studio Code
The addition of new features to Visual Studio Code extensions has made developing in Python more efficient on the platform. You will take less time worrying about code formatting and hence spend more time working on the logic of your code.
Moreover, open-source IDEs like Visual Studio Code get feature updates regularly. This is due to the large number of people involved in IDE development. The updates come with new functionalities which lead to a better coding experience while using the IDEs.

My foolproof plan is to use Windows 10 until 2030, with the latest security updates.
Love fades, even for the best open-source darling.

Not Linux, not Windows. Something better.
Tor spoiled me forever.
I found my TV was always listening—so I shut it down.
When your rival has to bail out your assistant.