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

  • Here's a One-Stop Shop for .NET 5 Improvements

    Culled from reams of Microsoft documentation, here's a high-level summary of what's new for performance, networking, diagnostics and more, along with links to the nitty-gritty details for those wanting to dig in more.

  • Azure SQL Database Ranked Among Top 3 Databases of 2020

    Microsoft touted the inclusion of Azure SQL Database among the top three databases of 2020 in a popularity ranking by DB-Engines, which collects and manages information about database management systems, updating its lists monthly.

  • Time Tracker Says VS Code Is No. 1 Editor for Devs, Some Working 15+ Hours Per Day

    WakaTime, which does time tracking for programmers, released data for 2020 showing that Visual Studio Code is by far the top editor/IDE used by its coders, some of whom are hacking away for more than 15 hours per day.

  • VS Code Java Project Explorer Gets Better

    The recently introduced project view for managing Java projects in Visual Studio Code received several enhancements in the latest update to Java functionality provided in Microsoft's popular open source, cross-platform code editor.

Upcoming Events