Paul Krill
Editor at Large

Visual Studio Code adds extension troubleshooting

news
Dec 15, 20202 mins

Latest monthly update to Microsoft’s open source code editor features an extension bisect feature that uses a binary search algorithm to quickly identify an extension causing trouble.

CSO  >  An exclamation-mark alert in a field of abstract technology.
Credit: Alengo

This month’s update to the Visual Studio Code code editor has been published, featuring a troubleshooter for extensions.

Visual Studio Code 1.52, known as the November 2020 release, has an extension bisect feature, to troubleshoot which extensions are causing issues in the editor. Prior to this capability, developers needed to disable all extensions then re-enable them one-by-one to find a problem with an extension.

The extension bisect feature uses a binary search algorithm to quickly identify an extension causing trouble. The feature disables half of extensions and asks developers to check for the issue in question. If the issue is gone, the bad extension must have been in the list of disabled extensions. The process is repeated until a single extension is left.

Found in the Visual Studio Marketplace, Visual Studio Code extensions serve as the “true power” of the editor, with extensions providing themes and language support as well as for debugging and code navigation, the Visual Studio Code team said in its monthly update bulletin.

Visual Studio Code can be downloaded at code.visualstudio.com. Other capabilities in Visual Studio Code 1.52 include:

  • Several Git commands have been added to the Command Palette. These include Cherry Pick, for picking a specific commit to a branch; Rename, to rename an active file; Push Tags, to push local tags to the remote, and Checkout to (Detached), to perform a checkout in detached mode.
  • Several new Git settings have been added, such as gitpruneOnFetch, which makes the editor run git fetch --prune when fetching remote refs.
  • Side-by-side and inline views in the diff editor now support word wrapping.
  • Improvements have been made to the Keyboard Shortcuts editor. For example, users can now configure a keybinding for a command from the Command Pallette via the Configure Keybinding button on the right.
  • File Explorer now supports Undo and Redo for all file operations.
  • Preview editors have been updated based on user feedback.
  • A new setting, editor.stickyTabStops, makes Visual Studio Code treat cursor movements in leading spaces similar to tabs.
  • IntelliSense word-based suggestions have been improved. Visual Studio Code now can be configured to suggest words from other open files.
  • Terminal settings now can be modified by selecting Configure Terminal Settings in the terminal dropdown menu.

The predecessor Visual Studio Code 1.51 release, published in November, was a housekeeping release with workbench and terminal capabilities.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author