VS Code version 1.38 adds debugging data breakpoints and more
The August 2019 update for Visual Studio Code is here. This month comes with plenty of improvements and upgrades, including the ability to preserve case for Search and Replace, new debugging data breakpoints, workbench improvements, some Editor enhancements, and of course, bug fixes aplenty. Take a look at some of the VS Code highlights.
Microsoft’s Visual Studio Code remains a fan favorite for code editing. According to the results of the Stack Overflow 2019 developer survey, it is currently the most popular development environment, beating out big names like IntelliJ and Vim. When we interviewed Erich Gamma, Microsoft Distinguished Engineer back in 2016, he stated: “Our goal is quite simple: We want VS Code to become the most popular code editor”. Achievement reached!
August 2019’s update, version 1.38 has arrived. What’s new for this month’s update? Let’s check out a few of the highlights.
📢 The August iteration is here 🎉 You can now copy/revert changes in the diff editor, use multi-line search, and more!
— Visual Studio Code (@code) September 4, 2019
- Preserve letter case in Search and Replace: Maintain case sensitive searches.
- New cancel search icon: The new icon better represents the action
- Settings editor string array validation: Displays errors for array-of-string items if the current value doesn’t satisfy the specified
- Top-level resource creation improvements: Now there are three different ways to create a file or folder in the root of the File Explorer. Users can scroll past the element and invoke the context menu, use a context menu on the scroll bar, or press Escape and clear both focus and selection in the Explorer.
- Control duplicate file naming: Use the new setting
- New prompt displayed when following outgoing links: Users can configure and set their trusted domains.
MDN Reference for HTML and CSS
From the changelog, this new improvement “displays a URL pointing to the relevant MDN Reference in completion and hover of HTML & CSS entities”.
Meet the new debugging improvement. According to the VSCode README:
From the Variables view, it is now possible to create data breakpoints that will get hit when the value of the underlying variable changes. Just like other breakpoints, data breakpoints can be disabled/enabled and removed in the Breakpoints view.
VS Code clarifies that data breakpoints require specific support. So far, they only expect debug extensions such as C++ and C# to opt into this feature.
In v1.38 only the Mock Debugger mocks data breakpoints. Check out the starter sample Mock Debugger in the marketplace.