diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8439ba57..a5c67eccf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ui/cacheView.ts b/src/ui/cacheView.ts index c00ecb619c..92567f65de 100644 --- a/src/ui/cacheView.ts +++ b/src/ui/cacheView.ts @@ -470,6 +470,7 @@ export class ConfigurationWebview { validateInput(editbox) editbox.oninput = () => edit(editbox); }); + document.querySelector('#search').focus(); } @@ -477,7 +478,7 @@ export class ConfigurationWebview {

${this.cmakeCacheEditorText}

- +