当前位置:网站首页>Official release丨VS Code 1.70
Official release丨VS Code 1.70
2022-08-11 02:47:00 【Microsoft Technology Stack】
Welcome to the July 2022 release of Visual Studio Code, with some of the key highlights listed below.
Easier title block customization
For those of you using custom title bars (the default on Windows, macOS, and the web), you may have noticed that we're introducing more interactive content to the title bar.While there is already a setting to hide these elements individually, you can now right-click on the title bar to access the context menu for the toggle menu bar (not shown on the macOS desktop), Command Center, and layout controls.
For Windows users expecting a system context menu, the menu can still be triggered by right-clicking the VS Code icon in the upper-left corner of the window or pressing Alt+Space.The mouse position is used to determine the behavior when triggered with Alt+Space, so if the custom menu is on top of the title bar, the custom menu will appear.
For Linux users, due to issue #156397 (the content of the issue can be viewed in the original article), blank space in the title bar will not open the context menu.You must right-click on one of the items in the title bar that you want to hide.
Collapse selection
Command Create Manual Folding Ranges from Selection (Ctrl+K Ctrl+,) Creates and folds folded ranges from the currently selected row.This area is called the manual folding area and is above the area computed by the folding provider.Manual folding ranges can be removed again with the command Remove Manual Folding Ranges (Ctrl+K Ctrl+.).Manually collapsing regions is very helpful in the case of programming languages that do not support collapsing.
Search multiple choice
Search view now supports multiple selection.Any action you perform on one result in the selection, such as dismiss or replace, will also be performed on the other selected items.
Tree view search and filter
Tree views, such as File Explorer, now support the Find control. Press Ctrl+F in the tree to bring up the Find control.You can use the Find control to highlight matching elements, or toggle the Filter button to hide all elements that do not match the search term.
Terminal improvements
Auto-injection for Shell integration was removed in the last preview release and is now enabled by default.Works fine for supported shell settings (most bash/zsh/pwsh configurations) without any changes.
Note: On Windows, you need PowerShell 7 (pwsh) to support shell integration.It can be installed via https://aka.ms/PSWindows.
If the shell integration does not automatically light up, you will need to set up a manual installation, which we have simplified in this release.
To enable auto-injection when the terminal.integrated.shellIntegration.enabled setting is set to true, add this to your settings.json file to disable the feature:
"terminal.integrated.shellIntegration.enabled": "false"
Command line option: merge
You can now bring up the merge editor in VS Code using command line options:
-m --merge Perform a three-way merge by providing paths for two modified versions of a file, the common origin of both modified versions, and theoutput file to save merge results.
This allows you to use VS Code as a merge tool for Git.For example, if you configure in .gitconfig then:
[merge]
tool = code-insiders
[mergetool "code-insiders"]
cmd = code-insiders --wait --merge $REMOTE $LOCAL $BASE $MERGED
Python initial experience
The Python extension allows users to easily install Python when needed.Any interpreter-related prompts are only displayed if the user action requires the interpreter.Additionally, UI prompts have been improved to more accurately display errors and suggested changes.
Sticky scroll preview
The UI can now be presented to show the extent the user is in during scrolling.The "sticky scroll" UI will show the class/interface/namespace/function/method/constructor at the top of the editor to help you understand where in the document.Use the editor.experimental.stickyScroll.enabled setting to enable sticky scrolling.
Developing Container CLI Themes
The development container Command Line Interface (CLI) theme has been updated for the latest version of the CLI.The Development Container CLI allows you to build and run development containers and is an open source reference implementation of the Development Container Specification.
For more updates to Visual Studio Code 1.70, please click the link below.
边栏推荐
- ARM development (4) How to read the chip manual for novice Xiaobai, bare metal driver development steps and pure assembly to achieve lighting, assembly combined with c lighting, c to achieve lighting
- 今天聊聊接口幂等性校验
- qtcreator调试webkit
- 多线程之ThreadPoolExecutor
- 带你系统学习MySQL索引
- MySQL - an SQL in MySQL is how to be performed?
- Inter-process communication method (2) Named pipe
- DOM树的遍历-----修改样式,选择元素,创建和删除节点
- TRCX:掺杂过程分析
- [机缘参悟-66]:怎样才能让别人愿意帮你:利益共享法则、“大道”、“人性”
猜你喜欢
随机推荐
flink The object probably contains or references non serializable fields.
SIT221 Data Structures and Algorithms课程辅导
IDE编译报错:Dangling metacharacter
YTU 2418: C语言习题 矩阵元素变换
google搜索技巧——程序员推荐
Mask RCNN 网络详解
Some work experience after joining the digital ic design
小幻美图 API
3342: String manipulation problem solving
正式发布丨VS Code 1.70
重庆纸质发票再见!开住宿费电子发票即将全面取代酒店餐饮加油站发票
求和、计数的窗口函数应用
学军中学推理社2017届招新试题
SQL 开发的十个高级概念
八.数据的存储
多线程之ThreadPoolExecutor
Vim and copy and paste from the outside (don't need to install the plugin)
Realization of vending machine function based on FPGA state machine
0图中等 LeetCode565. 数组嵌套
Detailed explanation of new features of ES advanced array function syntax