Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Bug Fixes:
- Fix bug that makes some build hang [#4424](https://github.com/microsoft/vscode-cmake-tools/issues/4424) and [#4465](https://github.com/microsoft/vscode-cmake-tools/issues/4465)
- Fix issue with switching to presets during Quick Start. [#4409](https://github.com/microsoft/vscode-cmake-tools/issues/4409)
- Fix bug that shows empty lines in Pinned Commands view. [#4406](https://github.com/microsoft/vscode-cmake-tools/issues/4406)
- Fix auto-focusing the "Search" input field in the CMake Cache view. [#4552](https://github.com/microsoft/vscode-cmake-tools/pull/4552) [@simhof-basyskom](https://github.com/simhof-basyskom)

## 1.20.53

Expand Down
3 changes: 2 additions & 1 deletion src/ui/cacheView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,14 +470,15 @@ export class ConfigurationWebview {
validateInput(editbox)
editbox.oninput = () => edit(editbox);
});
document.querySelector('#search').focus();
}
</script>
</head>
<body>
<div class="container">
<button id="save" onclick="save()">${saveButtonText}</button>
<h1>${this.cmakeCacheEditorText}<span class="invisible" id="not-saved">*</span></h1>
<input class="search" type="text" id="search" oninput="search()" placeholder="${searchButtonText}" autofocus>
<input class="search" type="text" id="search" oninput="search()" placeholder="${searchButtonText}">
<table style="width:100%">
<tr style="height: 25px;">
<th style="width: 30px"></th>
Expand Down