Skip to content

Commit dd3e078

Browse files
authored
[devtools] What's New in DevTools (Chrome 107) (GoogleChrome#3774)
* What's New in DevTools (Chrome 107) * [devtools] Update spacing * [devtools] Lint error * [devtools] Fix lint error * [devtools] Fix image
1 parent aa0ec10 commit dd3e078

File tree

14 files changed

+942
-0
lines changed

14 files changed

+942
-0
lines changed

site/_includes/partials/devtools/en/whats-new.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
A list of everything that has been covered in the [What's New In DevTools](/tags/new-in-devtools/) series.
44

5+
<!-- $content -->
6+
7+
### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/blog/new-in-devtools-107/#misc)
16+
517

618
### Chrome 106 {: #chrome106 }
719

site/_includes/partials/devtools/es/whats-new.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
Por favor, revisa la versión en inglés de <a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a> para una lista completa de las características lanzadas. Debajo tienes más contenido que ha sido traducido al castellano.
44

5+
<!-- $content -->
6+
7+
<!-- ### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/es/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/es/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/es/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/es/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/es/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/es/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/es/blog/new-in-devtools-107/#misc)
16+
-->
517

618
<!-- ### Chrome 106 {: #chrome106 }
719

site/_includes/partials/devtools/ja/whats-new.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
関連する機能の完全なリストは、<a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a> の英語版を参照してください。以下は、日本語に翻訳された内容の一部です。
44

5+
<!-- $content -->
6+
7+
<!-- ### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/ja/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/ja/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/ja/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/ja/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/ja/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/ja/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/ja/blog/new-in-devtools-107/#misc)
16+
-->
517

618
<!-- ### Chrome 106 {: #chrome106 }
719

site/_includes/partials/devtools/ko/whats-new.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
<a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a> 영어 버전을 참고하여 관련 기능의 전체 목록을 볼 수 있습니다. 아래 콘텐츠들은 한국어로 번역된 콘텐츠들입니다.
44

5+
<!-- $content -->
6+
7+
<!-- ### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/ko/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/ko/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/ko/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/ko/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/ko/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/ko/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/ko/blog/new-in-devtools-107/#misc)
16+
-->
517

618
<!-- ### Chrome 106 {: #chrome106 }
719
@@ -109,6 +121,7 @@
109121
* [기타 하이라이트](/ko/blog/new-in-devtools-99/#misc)
110122

111123
### Chrome 98 {: #chrome98 }
124+
112125
* [미리보기 기능: 전체 페이지 접근성 트리](/ko/blog/new-in-devtools-98/#a11y-tree)
113126
* [변경 탭에서의 더욱 정교한 변화들](/ko/blog/new-in-devtools-98/#changes)
114127
* [유저 플로우 레코딩을 위한 더 긴 타임아웃 설정](/ko/blog/new-in-devtools-98/#recorder-timeout)

site/_includes/partials/devtools/pt/whats-new.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
Consulte a versão em inglês do <a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a> para uma lista completa dos recursos lançados. Abaixo estão alguns conteúdos que foram traduzidos para o português.
44

5+
<!-- $content -->
6+
7+
<!-- ### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/pt/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/pt/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/pt/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/pt/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/pt/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/pt/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/pt/blog/new-in-devtools-107/#misc)
16+
-->
517

618
<!-- ### Chrome 106 {: #chrome106 }
719

site/_includes/partials/devtools/ru/whats-new.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
Чтобы увидеть полный список обновлений, перейдите на английскую версию по ссылке
44
<a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a>. Ниже перечислены материалы, переведенные на русский язык.
55

6+
<!-- $content -->
7+
8+
<!-- ### Chrome 107 {: #chrome107 }
9+
10+
* [Customize keyboard shortcuts in DevTools](/ru/blog/new-in-devtools-107/#shortcuts)
11+
* [Toggle light and dark themes with keyboard shortcut](/ru/blog/new-in-devtools-107/#toggle-themes)
12+
* [Highlight C/C++ objects in the Memory Inspector](/ru/blog/new-in-devtools-107/#memory)
13+
* [Support full initiator information for HAR import](/ru/blog/new-in-devtools-107/#har)
14+
* [Start DOM search after pressing `Enter`](/ru/blog/new-in-devtools-107/#search-type)
15+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/ru/blog/new-in-devtools-107/#flexbox)
16+
* [Miscellaneous highlights](/ru/blog/new-in-devtools-107/#misc)
17+
-->
618

719
<!-- ### Chrome 106 {: #chrome106 }
820

site/_includes/partials/devtools/zh/whats-new.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
## 更多 DevTools 的功能 {: #whats-new }
2+
23
欲查询完整的 DevTools 已发布的功能,请参考 <a href="/tags/new-in-devtools/" translate="no">What's New In DevTools</a> 英文系列。以下是部分已翻译成中文的内容。
34

5+
<!-- $content -->
6+
7+
<!-- ### Chrome 107 {: #chrome107 }
8+
9+
* [Customize keyboard shortcuts in DevTools](/zh/blog/new-in-devtools-107/#shortcuts)
10+
* [Toggle light and dark themes with keyboard shortcut](/zh/blog/new-in-devtools-107/#toggle-themes)
11+
* [Highlight C/C++ objects in the Memory Inspector](/zh/blog/new-in-devtools-107/#memory)
12+
* [Support full initiator information for HAR import](/zh/blog/new-in-devtools-107/#har)
13+
* [Start DOM search after pressing `Enter`](/zh/blog/new-in-devtools-107/#search-type)
14+
* [Display `start` and `end` icons for `align-content` CSS flexbox properties](/zh/blog/new-in-devtools-107/#flexbox)
15+
* [Miscellaneous highlights](/zh/blog/new-in-devtools-107/#misc)
16+
-->
417

518
<!-- ### Chrome 106 {: #chrome106 }
619
@@ -110,6 +123,7 @@
110123

111124

112125
### Chrome 98 {: #chrome98 }
126+
113127
* [预览功能:整页无障碍功能树](/zh/blog/new-in-devtools-98/#a11y-tree)
114128
* [在变更标签页中显示更精确的更改](/zh/blog/new-in-devtools-98/#changes)
115129
* [为用户操作流的录制设置更长的超时时间](/zh/blog/new-in-devtools-98/#recorder-timeout)
@@ -126,13 +140,15 @@
126140

127141

128142
### Chrome 97 {: #chrome97 }
143+
129144
* [预览特性:新的录制器面板](/zh/blog/new-in-devtools-97/#recorder)
130145
* [设备模式中更新的设备列表](/zh/blog/new-in-devtools-97/#device)
131146
* [修改 HTML 时自动补全](/zh/blog/new-in-devtools-97/#code-completion)
132147
* [改善代码调试体验](/zh/blog/new-in-devtools-97/#debugging)
133148
* [[实验阶段] 跨设备同步 DevTools 设置](/zh/blog/new-in-devtools-97/#sync)
134149

135150
### Chrome 96 {: #chrome96 }
151+
136152
* [预览特性: 新的 CSS 概览面板](/zh/blog/new-in-devtools-96/#css-overview)
137153
* [修复以及改善 CSS 长度编辑与复制的体验](/zh/blog/new-in-devtools-96/#length)
138154
* [模拟 CSS prefers-contrast 媒体特性](/zh/blog/new-in-devtools-96/#prefers-contrast)
@@ -149,6 +165,7 @@
149165

150166

151167
### Chrome 95 {: #chrome95 }
168+
152169
* [新的 CSS 长度编辑工具](/zh/blog/new-in-devtools-95/#length)
153170
* [在“问题”标签页隐藏问题](/zh/blog/new-in-devtools-95/#hide-issues)
154171
* [改善属性展示](/zh/blog/new-in-devtools-95/#properties)
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
layout: 'layouts/blog-post.njk'
3+
title: "What's New In DevTools (Chrome 107)"
4+
authors:
5+
- jecelynyeen
6+
date: 2022-09-20
7+
description: 'Customize keyboard shortcuts, highlight C/C++ objects in the Memory Inspector and more.'
8+
hero: 'image/dPDCek3EhZgLQPGtEG3y0fTn4v82/cyulcPa8T8YshkToHVLw.svg'
9+
alt: ''
10+
tags:
11+
- new-in-devtools
12+
- devtools
13+
- chrome-107
14+
---
15+
16+
17+
{% include 'partials/devtools/en/banner.md' %}
18+
19+
<!-- Content starts here -->
20+
21+
## Customize keyboard shortcuts in DevTools {: #shortcuts }
22+
23+
You can now customize keyboard shortcuts for your favorite commands in DevTools.
24+
25+
Go to **Settings** > **Shortcuts**, hover over a command and click the **Edit** button (pen icon) to customize the keyboard shortcut. You can create chords (a.k.a multi-key press shortcuts) as well.
26+
27+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/973EfWpxwGOdEF1nN1vv.png", alt="Customize keyboard shortcuts in DevTools.", width="800", height="516" %}
28+
29+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/d061128ff63a97ab2c6c0d2b5e655e6fcbed829c #}
30+
31+
Chromium issues: [1335274](https://crbug.com/1335274), [174309](https://crbug.com/174309)
32+
33+
34+
## Toggle light and dark themes with keyboard shortcut {: #toggle-themes }
35+
36+
Configure a keyboard shortcut to toggle [light and dark themes](/docs/devtools/rendering/emulate-css/#emulate-css-media-feature-prefers-color-scheme) conveniently. By default, the action doesn’t map to any keyboard shortcut.
37+
38+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/7oGdE2eRsgwokWXW9XvA.png", alt="Toggle light and dark themes with keyboard shortcut.", width="800", height="576" %}
39+
40+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/4853b34457f43e41ae9cebc7dfc97c0b734f463a #}
41+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/029ac9db0b7e7d08945bcf7a16b407bde50183a1 #}
42+
43+
Chromium issues: [1280398](https://crbug.com/1280398), [1226363](https://crbug.com/1226363)
44+
45+
46+
## Highlight C/C++ objects in the Memory Inspector {: #memory }
47+
48+
The [Memory Inspector](/docs/devtools/memory-inspector/) highlights all the bytes of a C/C++ memory object.
49+
50+
Recognizing an object’s bytes among the surrounding WebAssembly memory was a pain point. You have to know the object’s size and count bytes from the object’s start.
51+
52+
With this feature, it helps you tell them apart from the surrounding memory. See [Extending the Memory Inspector for C/C++ debugging](/blog/memory-inspector-extended-cpp/) to learn more about the changes.
53+
54+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/zqOv2zJTc8ucoeDmQiTo.png", alt="Highlight C/C++ objects in the Memory Inspector.", width="800", height="527" %}
55+
56+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/d5f3befb47eaaa373d697b42dec6f179baf9d42c #}
57+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/c4e6bdb4321cbc0b783647e855a616096beaabfd #}
58+
59+
Chromium issue: [1336568](https://crbug.com/1336568)
60+
61+
62+
## Support full initiator information for HAR import {: #har }
63+
64+
Full **Initiator** information is available now for [HAR import](/docs/devtools/network/reference/#save-as-har). Previously, the **Network** panel only shows partial initiator information during import.
65+
66+
The initiator information helps developers to trace the origin of a network request and identify network-related issues.
67+
68+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/cthh3ZrpDwo4LJiaY4Uo.png", alt="Support full initiator information for HAR import.", width="800", height="376" %}
69+
70+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/3a659b0711f52a2e200395b85f16ed9f266d1571 #}
71+
72+
Chromium issue: [1343185](https://crbug.com/1343185)
73+
74+
75+
76+
## Start DOM search after pressing `Enter` {: #search-type }
77+
78+
You can now disable the **Search as you type** setting to always start DOM search after pressing <kbd>Enter</kbd>.
79+
80+
In the **Elements** panel, toggle the search bar with <kbd>Control</kbd> or <kbd>Command</kbd> + <kbd>F</kbd>. As you type a query in the search textbox, the DOM tree will jump to the first matching element and highlight it by default.
81+
82+
For users, especially testers who always work with lengthy search queries, this behavior is not ideal. The DOM tree might jump multiple times as you type in a lengthy search query (e.g. `//div[@id="example"]`). This behavior creates unnecessary motion.
83+
84+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/KgTTYf8XaKkHQ2udJc33.png", alt="DOM search.", width="800", height="505" %}
85+
86+
Go to **Settings** > **Preferences**, disable **Search as you type**. With this change, the search will start only after you press <kbd>Enter</kbd>.
87+
88+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/HBLiQ5e60g5urU8UT5J7.png", alt="Search as you type setting.", width="800", height="449" %}
89+
90+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/b4643a4703b4a26945d1446eedc907ac81373e23 #}
91+
92+
Chromium issue: [1344526](https://crbug.com/1344526)
93+
94+
95+
## Display `start` and `end` icons for `align-content` CSS flexbox properties {: #flexbox }
96+
97+
In the **Styles** pane, edit the `align-content` properties in a CSS class with `display: flex` or `display: inline-flex`. The `start` and `end` show in the auto-complete dropdown with icons.
98+
99+
{% Img src="image/dPDCek3EhZgLQPGtEG3y0fTn4v82/fo10I2mt6bQ357itnYhl.png", alt="align-content flexbox properties.", width="800", height="424" %}
100+
101+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/ce2b426818106768d4e6d907cc1f4cd3b9636ca6 #}
102+
103+
Chromium issue: [1139945](https://crbug.com/1139945)
104+
105+
106+
## Miscellaneous highlights {: #misc }
107+
108+
- Display correct message counts in the **Console** sidebar. Previously, the counts didn't refresh when clearing console messages. ([1343311](https://crbug.com/1343311))
109+
110+
{# https://chromium.googlesource.com/devtools/devtools-frontend/+/5dd8494912fa43dfe998c9764ceb1e1763784617 #}
111+
112+
113+
{% include 'partials/devtools/en/reach-out.md' %}
114+
{% include 'partials/devtools/en/whats-new.md' %}

0 commit comments

Comments
 (0)