Microsoft Updates VS Code Python Extension, Improves IntelliSense Support for Jupyter Notebooks | iThome

Microsoft releases the latestSeptember VS Code Python extension updateThis version update focuses on the addition of improved IntelliSense support for Jupyter notebooks, the new addition of the Flake8 extension kit, and the Unittest and notebook image pasting functions have also been improved in this version.

Due to the update of the language server protocol, support for notebooks has been added, so now when Python uses the language server Pylance, IntelliSense will provide better support for Jupyter notebooks with a Python core. When developers write Python code in notebook files, not only can they get better autocomplete suggestions, but they can also use refactoring features such as extract variables, extract methods, and auto-import.

Microsoft’s work to separate the Python extension function and release a separate extension continues. After pylint, black and isort, there is now a new extension Flake8, which is also an extension that provides linting support using the language server protocol. The developer is now You can install this new expansion kit from the market. It is officially mentioned that Flake8 can be used with Pylint, and the two will not conflict with each other.

The new version of the Python extension package improves the operation of Unittest. At the same time, users can now easily paste image files and screenshots into the Markdown cells of the notebook. Although it is a simple function, it can be more convenient when writing notebooks.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.