Skip to content

Commit 5986aee

Browse files
authored
Fix search.exclude for Go to Symbol in Workspace (#5101)
* Fix workspace folder settings bug: #5134 * Fix bug with rescan folder getting called once per workspace folder. * Update changelog.
1 parent 2ffd921 commit 5986aee

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

Extension/CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# C/C++ for Visual Studio Code Change Log
22

3-
## Version 0.27.0-insiders3: March 13, 2020
3+
## Version 0.27.0-insiders4: March 23, 2019
4+
### Bug Fixes
5+
* Fix `Go to Symbol in Workspace` not applying `search.exclude` settings. [#5099](https://github.com/microsoft/vscode-cpptools/issues/5099)
6+
* Fix some settings not being editable in the UI. [PR #5126](https://github.com/microsoft/vscode-cpptools/pull/5126)
7+
* Fix `cpp_properties.json` error squiggles not appearing. [#5131](https://github.com/microsoft/vscode-cpptools/issues/5131)
8+
* Fix the wrong workspace folder settings being used. [#5134](https://github.com/microsoft/vscode-cpptools/issues/5134)
9+
* Fix the "Open File…" scenario without a workspace folder (again). [#5136](https://github.com/microsoft/vscode-cpptools/issues/5136)
10+
* Fix changes to `files.exclude` having no effect if they're identical to the previous workspace folder's. [#5138](https://github.com/microsoft/vscode-cpptools/issues/5138)
11+
* Fix the debugger not working for macOS High Sierra or older. [#5146](https://github.com/microsoft/vscode-cpptools/issues/5146)
12+
* Fix the configuration UI showing errors when an older version of `cl.exe` is set in the `compilerPath`. [#5151](https://github.com/microsoft/vscode-cpptools/issues/5151)
13+
* Fix `search.exclude` not applying if there are > 1 symbols matching in the excluded file. [#5152](https://github.com/microsoft/vscode-cpptools/issues/5152)
14+
* Fix a race condition that could cause the Outline, `Find All References`, etc. to stop working.
15+
* Fix `Rescan Workspace` running an extra time per workspace folder.
16+
* Fix a random crash after settings change.
17+
18+
## Version 0.27.0-insiders3: March 16, 2019
419
### Bug Fixes
520
* Fix update to clang-format 9.0.1 (and without shared library dependencies). [#2887](https://github.com/microsoft/vscode-cpptools/issues/2887), [#3174](https://github.com/microsoft/vscode-cpptools/issues/3174)
621
* Add new setting `C_Cpp.debugger.useBacktickCommandSubstitution` to fix debugging when CShell is the remote default shell. [#4015](https://github.com/microsoft/vscode-cpptools/issues/4015)

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@ export class DefaultClient implements Client {
11331133
formatting: settings_formatting,
11341134
extension_path: util.extensionPath,
11351135
exclude_files: settings_filesExclude,
1136+
exclude_search: settings_searchExclude,
11361137
associations: workspaceOtherSettings.filesAssociations,
11371138
storage_path: this.storagePath,
11381139
tabSize: settings_editorTabSize,

Extension/src/LanguageServer/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ function onLogDiagnostics(): void {
11861186

11871187
function onRescanWorkspace(): void {
11881188
onActivationEvent();
1189-
clients.forEach(client => client.rescanFolder());
1189+
clients.ActiveClient.rescanFolder();
11901190
}
11911191

11921192
function onShowRefCommand(arg?: TreeNode): void {

0 commit comments

Comments
 (0)