Microsoft has provided its free source code editor Visual Studio Code with some updates in version 1.94. Among other things, file searching in Explorer should now be easier and thanks to the migration to the ECMAScript module, VS Code starts up faster.
Advertisement
File searching made easy
The VS Code team has this search for-Reworked Explorer View feature to make it easier to find files in large projects. search for Can be accessed in File Explorer via Ctrl+Alt+F open. It is possible to switch between fuzzy matching and continuous matching during the search.
VS Code 1.94 brings a modified file search.
(Image: Microsoft)
Some context menu actions are temporarily disabled while searching. The development team will provide information about any innovations in this regard.
Switching to ECMAScript and NPM
According to Microsoft, the switch to ECMAScript modules, which have now made it into the stable release, significantly improves the startup performance of the source code editor: all layers of VS Code Core now use them. import
– And export
-Syntax in JavaScript for loading and exporting modules. All use of the legacy Asynchronous Module Definition (AMD) loader has been disabled and is scheduled to be removed later this month.
Additionally, npm is now the default package manager In Microsoft/VScode repositoryThe switch from Yarn to NPM aims to bring two advantages: first, it was originally introduced to improve performance, and second, among other things, due to the reduced number of tools in VS Code supply chain now. Should be more secure. dependence on.
Check test coverage of Python tests
There is also an update to Python testing: it can now be done including test coverage. To do this, developers must either click on the corresponding coverage run icon in the test explorer run with coverage In the menu from where you usually run the test. The Python extension will execute the coverage function using the pytest-cove plugin if you are using pytest, and coverage.py if you are using unittest. But test coverage There is a measurement in VS Code that indicates the proportion of code covered by tests. This makes it possible to identify parts of the code that have not been tested.
Microsoft provides all the additional information about the new release Known in announcement,
(May)