News

Extension Updates Highlight VS Code 1.23 (April 2018 Edition)

Microsoft said the newest monthly release of its open source, cross-platform Visual Studio Code editor focused on APIs to help developers create third-party extensions.

Extensions available through the Visual Studio Code Marketplace provide the bedrock of the VS Code experience, opening up the popular code editor to all kinds of new technologies and development functionality, such as Python and Java development and much more.

Among the many enhancements to ease the process of writing VS Code extensions are the following:

  • The ability to contribute custom view extensions to the Activity Bar in addition to the File Explorer, which was getting a bit cluttered. This helps the editor scale up as more custom views and other extensions are added.
  • Associated with the above, extension authors can contribute Source Control Management (SCM-related custom views into the Source Control view container in the Activity Bar and hide and re-order these views just as in the File Explorer.
  • Extensions can now serve files and folders from ftp-servers and other arbitrary sources, and the editor will handle them just like regular files.
  • A new API to read diagnostics and provide notifications when diagnostics change.
  • The webview API allows extensions to create fully customizable views within VS Code. For example, the built-in Markdown extension uses webviews to render Markdown previews. Webviews can also be used to build complex user interfaces beyond what VS Code's native APIs support.

The VS Code team also contributes or maintains many extensions for the code editor, and this month the Sublime Text Keymap extension is now able to import settings from Sublime.

Several proposed extension APIs have been added to this release, which will be made stable in a future release as the team becomes more confident in them. They include:

  • Integrated Terminal API, to help extension authors access all terminals while enabling multiplexing of terminals across different machines (previously an extension could only access the terminal which it created).
  • Task API, a proposed API to enhance task querying and execution from an extension.
  • Protocol Handler API to help extensions handle system-wide URIs, useful for cross-application integrations as it lets other applications send URIs to specific extensions.
  • Folding Provider API, which was a proposal in v1.22 and now is official, letting language extensions provide syntax-aware folding ranges.

Other new features include: an NPM script explorer; a new tutorial for deploying a static Web site to Azure Storage; highlighted index guides to help visualize source code indenting; automatic execution of actions like Organize Imports when saving a project; and more.

In addition to the above and extension-related updates, many new changes were highlighted by the VS Code team including:

  • Editor -- Better Unicode file support, more stable editor positioning.
  • Workbench -- Copy search results, better Git clone workflow, VS Code process explorer.
  • Debugging -- Logpoint expressions support smart completions and displaying structured objects.
  • Languages -- JavaScript/TypeScript Organize Imports action, persistent Markdown previews.

Dozens of community volunteers helped with the new release and were thanked by name by the VS Code team.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • ML.NET Improves Object Detection

    Microsoft improved the object detection capabilities of its ML.NET machine learning framework for .NET developers, adding the ability to train custom models with Model Builder in Visual Studio.

  • More Improvements for VS Code's New Python Language Server

    Microsoft announced more improvements for the new Python language server for Visual Studio Code, Pylance, specializing in rich type information.

  • Death of the Dev Machine?

    Here's a takeaway from this week's Ignite 2020 event: An advanced Azure cloud portends the death of the traditional, high-powered dev machine packed with computing, memory and storage components.

  • COVID-19 Is Ignite 2020's Elephant in the Room: 'Frankly, It Sucks'

    As in all things of our new reality, there was no escaping the drastic changes in routine caused by the COVID-19 pandemic during Microsoft's big Ignite 2020 developer/IT pro conference, this week shifted to an online-only event after drawing tens of thousands of in-person attendees in years past.

  • Visual Studio 2019 v16.8 Preview Update Adds Codespaces

    To coincide with the Microsoft Ignite 2020 IT pro/developer event, the Visual Studio dev team shipped a new update, Visual Studio 2019 v16.8 Preview 3.1, with the main attraction being support for cloud-hosted Codespaces, now in a limited beta.

Upcoming Events