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.
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.
you’re free to give it a try inVS Code - Insiders(registration required).
After installing VS Code Insiders, go to the marketplace and install thePylanceextension.
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.
It usesWebAssemblyas the execution engine.
It is in the experimental stage and hence you should not use it for Python production development.
Consequently, your use of this feature should be limited to prototype projects and test environments.
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.
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.