From 3fa64526a8397d146222c7e89b264c9a5bada433 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 24 May 2021 10:39:59 -0700 Subject: [PATCH 1/8] Fix package.nls.json issues. --- Extension/package.nls.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Extension/package.nls.json b/Extension/package.nls.json index eee78b525..89c82374d 100644 --- a/Extension/package.nls.json +++ b/Extension/package.nls.json @@ -31,9 +31,9 @@ "c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.outermostParenthesis.description": "Indent new line relative to the outermost open parenthesis.", "c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.innermostParenthesis.description": "Indent new line relative to the innermost open parenthesis.", "c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.statementBegin.description": "Indent new line relative to the beginning of the current statement.", - "c_cpp.configuration.vcFormat.indent.withinParentheses.description": "When a new line is typed, it is aligned under the opening parenthesis or based on `C_Cpp.vcFormat.indent.multiLineRelativeTo`.", + "c_cpp.configuration.vcFormat.indent.withinParentheses.description": "When a new line is typed, it is aligned under the opening parenthesis or based on \"C_Cpp.vcFormat.indent.multiLineRelativeTo\".", "c_cpp.configuration.vcFormat.indent.withinParentheses.alignToParenthesis.description": "New line is aligned under the opening parenthesis.", - "c_cpp.configuration.vcFormat.indent.withinParentheses.indent.description": "New line is indented based on `C_Cpp.vcFormat.indent.multiLineRelativeTo`.", + "c_cpp.configuration.vcFormat.indent.withinParentheses.indent.description": "New line is indented based on \"C_Cpp.vcFormat.indent.multiLineRelativeTo\".", "c_cpp.configuration.vcFormat.indent.preserveWithinParentheses.description": "In existing code, preserve the existing indent alignment of new lines within parentheses.", "c_cpp.configuration.vcFormat.indent.caseLabels.description": "Labels are indented relative to switch statements by the amount specified in the Editor: Tab Size setting.", "c_cpp.configuration.vcFormat.indent.caseContents.description": "Code inside case block is indented relative to its label by the amount specified in the Editor: Tab Size setting", @@ -111,7 +111,7 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.oneLiners.description": "A complete code block that is entered on one line is kept on one line, regardless of the values of any of the VC Format: New Line settings", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Any code where the opening and closing brace is entered on one line is kept on one line, regardless of the values of any of the VC Format: New Line settings", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "Code blocks are always formatted based on the values of the VC Format: New Line settings", - "c_cpp.configuration.clang_format_path.description": "The full path of the clang-format executable. If not specified, and clang-format is available in the environment path, that is used. If not found in the environment path, a copy of clang-format bundled with the extension will be used.", + "c_cpp.configuration.clang_format_path.description": "The full path of the clang-format executable. If not specified, and clang-format is available in the environment path, that is used. If not found in the environment path, a copy of clang-format bundled with the extension will be used.", "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "If set, overrides the include sorting behavior determined by the SortIncludes parameter.", @@ -188,8 +188,8 @@ "c_cpp.debuggers.logging.engineLogging.description": "Optional flag to determine whether diagnostic debug engine messages should be logged to the Debug Console. Defaults to false.", "c_cpp.debuggers.logging.trace.description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the Debug Console. Defaults to false.", "c_cpp.debuggers.logging.traceResponse.description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the Debug Console. Defaults to false.", - "c_cpp.debuggers.cppvsdbg.logging.threadExit.description": "Optional flag to determine whether thread exits messages should be logged to the Debug Console. Default: `false`.", - "c_cpp.debuggers.cppvsdbg.logging.processExit.description": "Optional flag to determine whether target process exits messages should be logged to the Debug Console., or debugging is stopped. Default: `true`.", + "c_cpp.debuggers.cppvsdbg.logging.threadExit.description": "Optional flag to determine whether thread exit messages should be logged to the Debug Console. Default: false.", + "c_cpp.debuggers.cppvsdbg.logging.processExit.description": "Optional flag to determine whether target process exit messages should be logged to the Debug Console. Default: true.", "c_cpp.debuggers.text.description": "The debugger command to execute.", "c_cpp.debuggers.description.description": "Optional description for the command.", "c_cpp.debuggers.ignoreFailures.description": "If true, failures from the command should be ignored. Default value is false.", @@ -213,7 +213,7 @@ "c_cpp.debuggers.miDebuggerArgs.description": "Additional arguments for the MI debugger (such as gdb).", "c_cpp.debuggers.miDebuggerServerAddress.description": "Network address of the MI Debugger Server to connect to (example: localhost:1234).", "c_cpp.debuggers.stopAtEntry.description": "Optional parameter. If true, the debugger should stop at the entrypoint of the target. If processId is passed, has no effect.", - "c_cpp.debuggers.debugServerPath.description": "Optional full path to debug server to launch. Defaults to null. It is used in conjunction of either \"miDebugServerAddress\" or your own server with a \"customSetupCommand\" that runs \"-target-select remote \"`.", + "c_cpp.debuggers.debugServerPath.description": "Optional full path to the debug server to launch. Defaults to null. It is used in conjunction with either \"miDebugServerAddress\" or your own server with a \"customSetupCommand\" that runs \"-target-select remote \".", "c_cpp.debuggers.debugServerArgs.description": "Optional debug server args. Defaults to null.", "c_cpp.debuggers.serverStarted.description": "Optional server-started pattern to look for in the debug server output. Defaults to null.", "c_cpp.debuggers.filterStdout.description": "Search stdout stream for server-started pattern and log stdout to debug output. Defaults to true.", @@ -225,7 +225,7 @@ "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code's integrated terminal", - "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios and will not automatically disappear when the application exits.", "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "If true, disables debuggee console redirection that is required for Integrated Terminal support.", "c_cpp.debuggers.sourceFileMap.description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'", From ad996213843563eba63d7e10ee013fa49aed3099 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 24 May 2021 15:18:14 -0700 Subject: [PATCH 2/8] Update changelog. --- Extension/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index ad888c9c5..91814c04c 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code Change Log -## Version 1.4.0-insiders3: May 24, 2021 +## Version 1.4.0-insiders3: May 25, 2021 ### Enhancements * Add `private` or `protected` scope labels to class symbols. [#7120](https://github.com/microsoft/vscode-cpptools/issues/7120) * Improvements to the C++ "Getting Started" walkthrough. [PR #7554](https://github.com/microsoft/vscode-cpptools/pull/7554) @@ -8,8 +8,11 @@ ### Bug Fixes * Fix bitness detection for compilers targeting esp32. [#7034](https://github.com/microsoft/vscode-cpptools/issues/7034) * Fix issue with cpptools process lingering when no longer needed. [#7262](https://github.com/microsoft/vscode-cpptools/issues/7262) +* Fix typos. + * jogo- (@jogo-) [PR #7509](https://github.com/microsoft/vscode-cpptools/pull/7509), [PR #7568](https://github.com/microsoft/vscode-cpptools/pull/7568), [PR #7573](https://github.com/microsoft/vscode-cpptools/pull/7573) * Fix enabling of the `ms_extensions` flag for clang on Windows. [#7529](https://github.com/microsoft/vscode-cpptools/issues/7529) * Fix `autocompleteAddParentheses` with no argument const/non-const overloads and deduction guides. [#7540](https://github.com/microsoft/vscode-cpptools/issues/7540), [#7541](https://github.com/microsoft/vscode-cpptools/issues/7541) +* Fix the browse configuration not being preserved when the configuration provider is auto-detected. [#7542](https://github.com/microsoft/vscode-cpptools/issues/7542) * Fix clang-format failure on macOS 10.13 or older. [#7561](https://github.com/microsoft/vscode-cpptools/issues/7561) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. @@ -28,6 +31,7 @@ * Fix IntelliSense crash with the arrow library. [#7518](https://github.com/microsoft/vscode-cpptools/issues/7518) * Fix the configuration UI randomly being blank (more frequently when remote). [#7523](https://github.com/microsoft/vscode-cpptools/issues/7523) * Fix IntelliSense mode switching from `linux` to `macos` if `__unix__` is defined but `__linux__` is not. [#7525](https://github.com/microsoft/vscode-cpptools/issues/7525) +* Fix IntelliSense crash with std::ranges::unique. [#7576](https://github.com/microsoft/vscode-cpptools/issues/7576) * Reduce IntelliSense memory and CPU usage in certain scenarios. ## Version 1.4.0-insiders: May 10, 2021 From dcf9a87527b62ad20f9642b98ade9531336facc2 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 24 May 2021 16:51:08 -0700 Subject: [PATCH 3/8] Update changelog. --- Extension/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 91814c04c..838994535 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -6,6 +6,7 @@ * Improvements to the C++ "Getting Started" walkthrough. [PR #7554](https://github.com/microsoft/vscode-cpptools/pull/7554) ### Bug Fixes +* Switch to showing no document symbols instead of random symbols for `files.exclude`'d documents. [#5142](https://github.com/microsoft/vscode-cpptools/issues/5142) * Fix bitness detection for compilers targeting esp32. [#7034](https://github.com/microsoft/vscode-cpptools/issues/7034) * Fix issue with cpptools process lingering when no longer needed. [#7262](https://github.com/microsoft/vscode-cpptools/issues/7262) * Fix typos. @@ -16,6 +17,7 @@ * Fix clang-format failure on macOS 10.13 or older. [#7561](https://github.com/microsoft/vscode-cpptools/issues/7561) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. +* Fix a random IntelliSense process crash on shutdown. ## Version 1.4.0-insiders2: May 17, 2021 ### New Features From f33c9420ed710995e42f3d6916bdfb3ea6493a75 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 24 May 2021 17:34:18 -0700 Subject: [PATCH 4/8] Minor edit. --- Extension/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 838994535..2406b8413 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -27,13 +27,13 @@ ### Bug Fixes * Fix an incorrect IntelliSense error with object initialization. [#3212](https://github.com/microsoft/vscode-cpptools/issues/3212) * Fix macros getting undefined when duplicate `#include` are used. [#5182](https://github.com/microsoft/vscode-cpptools/issues/5182), [#7270](https://github.com/microsoft/vscode-cpptools/issues/7270) -* Fix IntelliSense crash with `#pragma GCC target`. [#6698](https://github.com/microsoft/vscode-cpptools/issues/6698), [#7377](https://github.com/microsoft/vscode-cpptools/issues/7377) +* Fix an IntelliSense crash with `#pragma GCC target`. [#6698](https://github.com/microsoft/vscode-cpptools/issues/6698), [#7377](https://github.com/microsoft/vscode-cpptools/issues/7377) * Fix completion at the end of a file. [#7472](https://github.com/microsoft/vscode-cpptools/issues/7472) * Fix completion of constructors. [#7505](https://github.com/microsoft/vscode-cpptools/issues/7505) -* Fix IntelliSense crash with the arrow library. [#7518](https://github.com/microsoft/vscode-cpptools/issues/7518) +* Fix an IntelliSense crash with the arrow library. [#7518](https://github.com/microsoft/vscode-cpptools/issues/7518) * Fix the configuration UI randomly being blank (more frequently when remote). [#7523](https://github.com/microsoft/vscode-cpptools/issues/7523) * Fix IntelliSense mode switching from `linux` to `macos` if `__unix__` is defined but `__linux__` is not. [#7525](https://github.com/microsoft/vscode-cpptools/issues/7525) -* Fix IntelliSense crash with std::ranges::unique. [#7576](https://github.com/microsoft/vscode-cpptools/issues/7576) +* Fix an IntelliSense crash with std::ranges::unique. [#7576](https://github.com/microsoft/vscode-cpptools/issues/7576) * Reduce IntelliSense memory and CPU usage in certain scenarios. ## Version 1.4.0-insiders: May 10, 2021 From 030e3b6a965b0cd5cff8679ab3773f31fbe67bee Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 24 May 2021 17:37:45 -0700 Subject: [PATCH 5/8] Update changelog. --- Extension/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 2406b8413..0fd80ec39 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -17,7 +17,6 @@ * Fix clang-format failure on macOS 10.13 or older. [#7561](https://github.com/microsoft/vscode-cpptools/issues/7561) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. -* Fix a random IntelliSense process crash on shutdown. ## Version 1.4.0-insiders2: May 17, 2021 ### New Features From 54f26b79c78b7ff7c6950ce4fe42122366090f7e Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 25 May 2021 10:28:29 -0700 Subject: [PATCH 6/8] Update changelog. --- Extension/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 0fd80ec39..e2e9acf35 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -15,8 +15,10 @@ * Fix `autocompleteAddParentheses` with no argument const/non-const overloads and deduction guides. [#7540](https://github.com/microsoft/vscode-cpptools/issues/7540), [#7541](https://github.com/microsoft/vscode-cpptools/issues/7541) * Fix the browse configuration not being preserved when the configuration provider is auto-detected. [#7542](https://github.com/microsoft/vscode-cpptools/issues/7542) * Fix clang-format failure on macOS 10.13 or older. [#7561](https://github.com/microsoft/vscode-cpptools/issues/7561) +* Fix walkthrough for remote targets. [PR #7582](https://github.com/microsoft/vscode-cpptools/pull/7582) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. +* Fix a random IntelliSense process crash on shutdown. ## Version 1.4.0-insiders2: May 17, 2021 ### New Features From 52739d7e1fef988e7d9d4e1404df2cd896fbfa4b Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 25 May 2021 10:29:36 -0700 Subject: [PATCH 7/8] Edit. --- Extension/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index e2e9acf35..bcaab1b26 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -15,7 +15,7 @@ * Fix `autocompleteAddParentheses` with no argument const/non-const overloads and deduction guides. [#7540](https://github.com/microsoft/vscode-cpptools/issues/7540), [#7541](https://github.com/microsoft/vscode-cpptools/issues/7541) * Fix the browse configuration not being preserved when the configuration provider is auto-detected. [#7542](https://github.com/microsoft/vscode-cpptools/issues/7542) * Fix clang-format failure on macOS 10.13 or older. [#7561](https://github.com/microsoft/vscode-cpptools/issues/7561) -* Fix walkthrough for remote targets. [PR #7582](https://github.com/microsoft/vscode-cpptools/pull/7582) +* Fix the walkthrough for remote targets. [PR #7582](https://github.com/microsoft/vscode-cpptools/pull/7582) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. * Fix a random IntelliSense process crash on shutdown. From a8713c6ba1b63d548ad7782e3a85187523c3e641 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 25 May 2021 13:16:57 -0700 Subject: [PATCH 8/8] Update changelog. --- Extension/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index bcaab1b26..1689aa5b3 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -18,7 +18,6 @@ * Fix the walkthrough for remote targets. [PR #7582](https://github.com/microsoft/vscode-cpptools/pull/7582) * Prevent 'Configuration Warnings' output when a custom configuration provider omits optional fields. * Prevent 'Configuration Warnings' caused by corrections to auto-detected default configuration values. -* Fix a random IntelliSense process crash on shutdown. ## Version 1.4.0-insiders2: May 17, 2021 ### New Features