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

  • Microsoft Previews Mads Kristensen Keynote at Orlando Dev Conference

    Microsoft today previewed a keynote presentation by Visual Studio guru Mads Kristensen at an upcoming developer/IT pro event where he will be joined by other company dev luminaries such as Jon Galloway, Rachel Kang, and James Montemagno.

  • Syncfusion Open Sources 14 Controls for .NET MAUI

    Third-party .NET-centric dev UI tooling specialist Syncfusion this week announced the open sourcing of 14 controls for .NET MAUI, the evolution of Xamarin.Forms that adds support for building desktop apps.

  • Kubernetes for Developers

    "Kubernetes has a lot of 'moving parts' so can be intimidating at first," says Dan Wahlin, a principal cloud developer advocate at Microsoft who promises to explain everything at a developer conference next month in Orlando.

  • New Combit Reporting Tool Release Supports .NET 9

    The List & Label reporting tool by combit helps devs integrate advanced reporting, printing and exporting capabilities into their apps for web, cloud and desktop environments with minimal code.

Subscribe on YouTube